mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
char: add missing NetWinder MODULE_DESCRIPTION() macros
Since commit 1fffe7a34c
("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 <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240717-md-arm-drivers-char-nw-v1-1-fee7a8505e9e@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f528cd5585
commit
d1009d04a0
@ -421,4 +421,5 @@ static void __exit ds1620_exit(void)
|
|||||||
module_init(ds1620_init);
|
module_init(ds1620_init);
|
||||||
module_exit(ds1620_exit);
|
module_exit(ds1620_exit);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Dallas Semiconductor DS1620 thermometer driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -241,6 +241,7 @@ static void __exit nwbutton_exit (void)
|
|||||||
|
|
||||||
|
|
||||||
MODULE_AUTHOR("Alex Holden");
|
MODULE_AUTHOR("Alex Holden");
|
||||||
|
MODULE_DESCRIPTION("NetWinder button driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
module_init(nwbutton_init);
|
module_init(nwbutton_init);
|
||||||
|
@ -618,6 +618,7 @@ static void __exit nwflash_exit(void)
|
|||||||
iounmap((void *)FLASH_BASE);
|
iounmap((void *)FLASH_BASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("NetWinder flash memory driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
module_param(flashdebug, bool, 0644);
|
module_param(flashdebug, bool, 0644);
|
||||||
|
Loading…
Reference in New Issue
Block a user