mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
pwm: add missing MODULE_DESCRIPTION() macros
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. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://lore.kernel.org/r/20240610-md-drivers-pwm-v2-1-b337cfaa70ea@quicinc.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
This commit is contained in:
parent
3555f8ff30
commit
2c69747c10
@ -194,5 +194,6 @@ static struct platform_driver pwm_imx1_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(pwm_imx1_driver);
|
module_platform_driver(pwm_imx1_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("i.MX1 and i.MX21 Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
|
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
|
||||||
|
@ -352,5 +352,6 @@ static struct platform_driver imx_pwm_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(imx_pwm_driver);
|
module_platform_driver(imx_pwm_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("i.MX27 and later i.MX SoCs Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
|
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
|
||||||
|
@ -230,4 +230,5 @@ static struct platform_driver lgm_pwm_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(lgm_pwm_driver);
|
module_platform_driver(lgm_pwm_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Intel LGM Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -395,4 +395,5 @@ static struct platform_driver pwm_mediatek_driver = {
|
|||||||
module_platform_driver(pwm_mediatek_driver);
|
module_platform_driver(pwm_mediatek_driver);
|
||||||
|
|
||||||
MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
|
MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
|
||||||
|
MODULE_DESCRIPTION("MediaTek general purpose Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -208,4 +208,5 @@ static struct platform_driver pwm_driver = {
|
|||||||
|
|
||||||
module_platform_driver(pwm_driver);
|
module_platform_driver(pwm_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("PXA Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -644,6 +644,7 @@ static struct platform_driver pwm_samsung_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(pwm_samsung_driver);
|
module_platform_driver(pwm_samsung_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Samsung Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Tomasz Figa <tomasz.figa@gmail.com>");
|
MODULE_AUTHOR("Tomasz Figa <tomasz.figa@gmail.com>");
|
||||||
MODULE_ALIAS("platform:samsung-pwm");
|
MODULE_ALIAS("platform:samsung-pwm");
|
||||||
|
@ -255,6 +255,7 @@ static struct platform_driver spear_pwm_driver = {
|
|||||||
|
|
||||||
module_platform_driver(spear_pwm_driver);
|
module_platform_driver(spear_pwm_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("ST Microelectronics SPEAr Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Shiraz Hashim <shiraz.linux.kernel@gmail.com>");
|
MODULE_AUTHOR("Shiraz Hashim <shiraz.linux.kernel@gmail.com>");
|
||||||
MODULE_AUTHOR("Viresh Kumar <viresh.kumar@linaro.com>");
|
MODULE_AUTHOR("Viresh Kumar <viresh.kumar@linaro.com>");
|
||||||
|
@ -170,6 +170,7 @@ static struct platform_driver visconti_pwm_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(visconti_pwm_driver);
|
module_platform_driver(visconti_pwm_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Toshiba Visconti Pulse Width Modulator driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_AUTHOR("Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>");
|
MODULE_AUTHOR("Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>");
|
||||||
MODULE_ALIAS("platform:pwm-visconti");
|
MODULE_ALIAS("platform:pwm-visconti");
|
||||||
|
Loading…
Reference in New Issue
Block a user