Skip to content

Commit 7857f5c

Browse files
Jeff Johnsonlag-linaro
authored andcommitted
backlight: Add missing MODULE_DESCRIPTION() macros
With ARCH=x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/video/backlight/platform_lcd.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/video/backlight/rt4831-backlight.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/20240612-md-drivers-video-backlight-v1-1-f4ca1beb36cc@quicinc.com Signed-off-by: Lee Jones <[email protected]>
1 parent 90b7f2e commit 7857f5c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/video/backlight/platform_lcd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,6 @@ static struct platform_driver platform_lcd_driver = {
143143
module_platform_driver(platform_lcd_driver);
144144

145145
MODULE_AUTHOR("Ben Dooks <[email protected]>");
146+
MODULE_DESCRIPTION("Generic platform-device LCD power control interface");
146147
MODULE_LICENSE("GPL v2");
147148
MODULE_ALIAS("platform:platform-lcd");

drivers/video/backlight/rt4831-backlight.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,4 +229,5 @@ static struct platform_driver rt4831_bl_driver = {
229229
module_platform_driver(rt4831_bl_driver);
230230

231231
MODULE_AUTHOR("ChiYuan Huang <[email protected]>");
232+
MODULE_DESCRIPTION("Richtek RT4831 Backlight Driver");
232233
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)