Skip to content

Commit d1009d0

Browse files
Jeff Johnsongregkh
authored andcommitted
char: add missing NetWinder MODULE_DESCRIPTION() macros
Since commit 1fffe7a ("script: modpost: emit a warning when the description is missing"), a module without a MODULE_DESCRIPTION() will result in a warning with make W=1. The following warnings are being observed in drivers/char when CONFIG_ARCH_NETWINDER is enabled: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/ds1620.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/nwbutton.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/nwflash.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f528cd5 commit d1009d0

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

drivers/char/ds1620.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,4 +421,5 @@ static void __exit ds1620_exit(void)
421421
module_init(ds1620_init);
422422
module_exit(ds1620_exit);
423423

424+
MODULE_DESCRIPTION("Dallas Semiconductor DS1620 thermometer driver");
424425
MODULE_LICENSE("GPL");

drivers/char/nwbutton.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ static void __exit nwbutton_exit (void)
241241

242242

243243
MODULE_AUTHOR("Alex Holden");
244+
MODULE_DESCRIPTION("NetWinder button driver");
244245
MODULE_LICENSE("GPL");
245246

246247
module_init(nwbutton_init);

drivers/char/nwflash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ static void __exit nwflash_exit(void)
618618
iounmap((void *)FLASH_BASE);
619619
}
620620

621+
MODULE_DESCRIPTION("NetWinder flash memory driver");
621622
MODULE_LICENSE("GPL");
622623

623624
module_param(flashdebug, bool, 0644);

0 commit comments

Comments
 (0)