char: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/ttyprintk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/lp.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/nvram.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/20240603-md-char-misc-v1-1-25d43d6f331d@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a464822872
commit
91f34fc54e
@ -1123,4 +1123,5 @@ module_init(lp_init_module);
|
||||
module_exit(lp_cleanup_module);
|
||||
|
||||
MODULE_ALIAS_CHARDEV_MAJOR(LP_MAJOR);
|
||||
MODULE_DESCRIPTION("Generic parallel printer driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -540,6 +540,7 @@ static void __exit nvram_module_exit(void)
|
||||
module_init(nvram_module_init);
|
||||
module_exit(nvram_module_exit);
|
||||
|
||||
MODULE_DESCRIPTION("CMOS/NV-RAM driver for Linux");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_MISCDEV(NVRAM_MINOR);
|
||||
MODULE_ALIAS("devname:nvram");
|
||||
|
@ -228,4 +228,5 @@ static void __exit ttyprintk_exit(void)
|
||||
device_initcall(ttyprintk_init);
|
||||
module_exit(ttyprintk_exit);
|
||||
|
||||
MODULE_DESCRIPTION("TTY driver to output user messages via printk");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user