diff mbox series

interconnect: imx: add missing MODULE_DESCRIPTION() macros

Message ID 20240603-md-interconnect-imx-v1-1-348a9205506c@quicinc.com (mailing list archive)
State New
Headers show
Series interconnect: imx: add missing MODULE_DESCRIPTION() macros | expand

Commit Message

Jeff Johnson June 3, 2024, 11:42 p.m. UTC
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@quicinc.com>
---
 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(+)


---
base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
change-id: 20240603-md-interconnect-imx-43eccb3493bd

Comments

Peng Fan June 6, 2024, 12:59 a.m. UTC | #1
> 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@quicinc.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>
> ---
>  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@baylibre.com>");
> +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@nxp.com>");
> +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@nxp.com>");
> +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@nxp.com>");
> +MODULE_DESCRIPTION("Interconnect framework driver for i.MX8MQ SoC");
>  MODULE_LICENSE("GPL v2");
> 
> ---
> base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
> change-id: 20240603-md-interconnect-imx-43eccb3493bd
>
diff mbox series

Patch

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@baylibre.com>");
+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@nxp.com>");
+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@nxp.com>");
+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@nxp.com>");
+MODULE_DESCRIPTION("Interconnect framework driver for i.MX8MQ SoC");
 MODULE_LICENSE("GPL v2");