Commit a862a3f7 authored by Jeff Johnson's avatar Jeff Johnson Committed by Arnd Bergmann

soc: add missing MODULE_DESCRIPTION() macros

With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/imx/soc-imx8m.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/ixp4xx/ixp4xx-qmgr.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/ixp4xx/ixp4xx-npe.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/mediatek/mtk-cmdq-helper.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/soc/amlogic/meson-clk-measure.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> # for amlogic/meson-clk-measure.c
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240625-md-drivers-soc-v2-1-8bc7c03e3e69@quicinc.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 87dcb2f0
...@@ -688,4 +688,5 @@ static struct platform_driver meson_msr_driver = { ...@@ -688,4 +688,5 @@ static struct platform_driver meson_msr_driver = {
}, },
}; };
module_platform_driver(meson_msr_driver); module_platform_driver(meson_msr_driver);
MODULE_DESCRIPTION("Amlogic Meson SoC Clock Measure driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -252,4 +252,5 @@ static int __init imx8_soc_init(void) ...@@ -252,4 +252,5 @@ static int __init imx8_soc_init(void)
return ret; return ret;
} }
device_initcall(imx8_soc_init); device_initcall(imx8_soc_init);
MODULE_DESCRIPTION("NXP i.MX8M SoC driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -764,6 +764,7 @@ static struct platform_driver ixp4xx_npe_driver = { ...@@ -764,6 +764,7 @@ static struct platform_driver ixp4xx_npe_driver = {
module_platform_driver(ixp4xx_npe_driver); module_platform_driver(ixp4xx_npe_driver);
MODULE_AUTHOR("Krzysztof Halasa"); MODULE_AUTHOR("Krzysztof Halasa");
MODULE_DESCRIPTION("Intel IXP4xx Network Processor Engine driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_FIRMWARE(NPE_A_FIRMWARE); MODULE_FIRMWARE(NPE_A_FIRMWARE);
MODULE_FIRMWARE(NPE_B_FIRMWARE); MODULE_FIRMWARE(NPE_B_FIRMWARE);
......
...@@ -465,6 +465,7 @@ static struct platform_driver ixp4xx_qmgr_driver = { ...@@ -465,6 +465,7 @@ static struct platform_driver ixp4xx_qmgr_driver = {
}; };
module_platform_driver(ixp4xx_qmgr_driver); module_platform_driver(ixp4xx_qmgr_driver);
MODULE_DESCRIPTION("Intel IXP4xx Queue Manager driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Krzysztof Halasa"); MODULE_AUTHOR("Krzysztof Halasa");
......
...@@ -526,4 +526,5 @@ int cmdq_pkt_finalize(struct cmdq_pkt *pkt) ...@@ -526,4 +526,5 @@ int cmdq_pkt_finalize(struct cmdq_pkt *pkt)
} }
EXPORT_SYMBOL(cmdq_pkt_finalize); EXPORT_SYMBOL(cmdq_pkt_finalize);
MODULE_DESCRIPTION("MediaTek Command Queue (CMDQ) driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment