make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-imx1.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-imx27.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-intel-lgm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-mediatek.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-pxa.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-samsung.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-spear.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pwm/pwm-visconti.o
Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
---
This addresses all of the issues in driver/pwm
Let me know if you want any of the individual module changes
segregated into separate patches.
---
drivers/pwm/pwm-imx1.c | 1 +
drivers/pwm/pwm-imx27.c | 1 +
drivers/pwm/pwm-intel-lgm.c | 1 +
drivers/pwm/pwm-mediatek.c | 1 +
drivers/pwm/pwm-pxa.c | 1 +
drivers/pwm/pwm-samsung.c | 1 +
drivers/pwm/pwm-spear.c | 1 +
drivers/pwm/pwm-visconti.c | 1 +
8 files changed, 8 insertions(+)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index 19a87873ad60..0b5d68a90e83 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -395,4 +395,5 @@ static struct platform_driver pwm_mediatek_driver = {
module_platform_driver(pwm_mediatek_driver);
MODULE_AUTHOR("John Crispin <blogic@xxxxxxxxxxx>");
+MODULE_DESCRIPTION("MediaTek Pulse Width Modulator driver");
MODULE_LICENSE("GPL v2");