RE: [PATCH] interconnect: imx: add missing MODULE_DESCRIPTION() macros

From: Peng Fan
Date: Wed Jun 05 2024 - 21:01:20 EST


> Subject: [PATCH] interconnect: imx: add missing MODULE_DESCRIPTION()
> macros
>
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> drivers/interconnect/imx/imx-interconnect.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> drivers/interconnect/imx/imx8mm-interconnect.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> drivers/interconnect/imx/imx8mq-interconnect.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> drivers/interconnect/imx/imx8mn-interconnect.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> drivers/interconnect/imx/imx8mp-interconnect.o
>
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>

Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
> ---
> drivers/interconnect/imx/imx.c | 1 +
> drivers/interconnect/imx/imx8mm.c | 1 +
> drivers/interconnect/imx/imx8mn.c | 1 +
> drivers/interconnect/imx/imx8mp.c | 1 +
> drivers/interconnect/imx/imx8mq.c | 1 +
> 5 files changed, 5 insertions(+)
>
> diff --git a/drivers/interconnect/imx/imx.c b/drivers/interconnect/imx/imx.c
> index 979ed610f704..9511f80cf041 100644
> --- a/drivers/interconnect/imx/imx.c
> +++ b/drivers/interconnect/imx/imx.c
> @@ -334,4 +334,5 @@ void imx_icc_unregister(struct platform_device
> *pdev) } EXPORT_SYMBOL_GPL(imx_icc_unregister);
>
> +MODULE_DESCRIPTION("Interconnect framework driver for i.MX SoC");
> MODULE_LICENSE("GPL v2");
> diff --git a/drivers/interconnect/imx/imx8mm.c
> b/drivers/interconnect/imx/imx8mm.c
> index 8c40f4182263..a36aaaf106ae 100644
> --- a/drivers/interconnect/imx/imx8mm.c
> +++ b/drivers/interconnect/imx/imx8mm.c
> @@ -96,5 +96,6 @@ static struct platform_driver imx8mm_icc_driver = {
>
> module_platform_driver(imx8mm_icc_driver);
> MODULE_AUTHOR("Alexandre Bailon <abailon@xxxxxxxxxxxx>");
> +MODULE_DESCRIPTION("Interconnect framework driver for i.MX8MM SoC");
> MODULE_LICENSE("GPL v2");
> MODULE_ALIAS("platform:imx8mm-interconnect");
> diff --git a/drivers/interconnect/imx/imx8mn.c
> b/drivers/interconnect/imx/imx8mn.c
> index fa3d4f97dfa4..2a97c74e875b 100644
> --- a/drivers/interconnect/imx/imx8mn.c
> +++ b/drivers/interconnect/imx/imx8mn.c
> @@ -86,4 +86,5 @@ static struct platform_driver imx8mn_icc_driver =
> { module_platform_driver(imx8mn_icc_driver);
> MODULE_ALIAS("platform:imx8mn-interconnect");
> MODULE_AUTHOR("Leonard Crestez <leonard.crestez@xxxxxxx>");
> +MODULE_DESCRIPTION("Interconnect framework driver for i.MX8MN SoC");
> MODULE_LICENSE("GPL v2");
> diff --git a/drivers/interconnect/imx/imx8mp.c
> b/drivers/interconnect/imx/imx8mp.c
> index d218bb47757a..86d4c1517b26 100644
> --- a/drivers/interconnect/imx/imx8mp.c
> +++ b/drivers/interconnect/imx/imx8mp.c
> @@ -249,5 +249,6 @@ static struct platform_driver imx8mp_icc_driver = {
>
> module_platform_driver(imx8mp_icc_driver);
> MODULE_AUTHOR("Peng Fan <peng.fan@xxxxxxx>");
> +MODULE_DESCRIPTION("Interconnect framework driver for i.MX8MP SoC");
> MODULE_LICENSE("GPL");
> MODULE_ALIAS("platform:imx8mp-interconnect");
> diff --git a/drivers/interconnect/imx/imx8mq.c
> b/drivers/interconnect/imx/imx8mq.c
> index 8bbd672b346e..f817d24aeefb 100644
> --- a/drivers/interconnect/imx/imx8mq.c
> +++ b/drivers/interconnect/imx/imx8mq.c
> @@ -97,4 +97,5 @@ static struct platform_driver imx8mq_icc_driver =
> { module_platform_driver(imx8mq_icc_driver);
> MODULE_ALIAS("platform:imx8mq-interconnect");
> MODULE_AUTHOR("Leonard Crestez <leonard.crestez@xxxxxxx>");
> +MODULE_DESCRIPTION("Interconnect framework driver for i.MX8MQ SoC");
> MODULE_LICENSE("GPL v2");
>
> ---
> base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
> change-id: 20240603-md-interconnect-imx-43eccb3493bd
>