]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
video: console: add missing MODULE_DESCRIPTION() macros
authorJeff Johnson <quic_jjohnson@quicinc.com>
Sat, 22 Jun 2024 06:07:06 +0000 (23:07 -0700)
committerHelge Deller <deller@gmx.de>
Sat, 22 Jun 2024 07:52:36 +0000 (09:52 +0200)
With ARCH=i386, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/video/console/mdacon.o

Add the missing invocation of the MODULE_DESCRIPTION() macro to all
files which have a MODULE_LICENSE().

This includes three other files which, although they did not produce a
warning with the i386 allmodconfig configuration, may cause this
warning with other configurations.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/console/mdacon.c
drivers/video/console/newport_con.c
drivers/video/console/sticon.c
drivers/video/console/vgacon.c

index c0e1f4554a44b08e927e932d7e3ba2005f60ad84..d52cd99cd18b4ab8afb4976a5bb3cff7ea4b3036 100644 (file)
@@ -561,5 +561,6 @@ static void __exit mda_console_exit(void)
 module_init(mda_console_init);
 module_exit(mda_console_exit);
 
+MODULE_DESCRIPTION("MDA based console driver");
 MODULE_LICENSE("GPL");
 
index a51cfc1d560e7af172b30da70b1f06668b5e48b1..2424153660746e127de843e0f19cf8ab5da4a5b4 100644 (file)
@@ -744,4 +744,5 @@ static struct gio_driver newport_driver = {
 };
 module_driver(newport_driver, gio_register_driver, gio_unregister_driver);
 
+MODULE_DESCRIPTION("SGI Newport console driver");
 MODULE_LICENSE("GPL");
index 4c7b4959a1aab7cb46ebca80c1bba3e0d7b8d911..f1f3ee8e5e8ae18d3f1f772fcc4fbcad888a9d8d 100644 (file)
@@ -391,4 +391,5 @@ static int __init sticonsole_init(void)
 }
 
 module_init(sticonsole_init);
+MODULE_DESCRIPTION("HP STI console driver");
 MODULE_LICENSE("GPL");
index 7597f04b0dc77e7e67516cb69be98a399da8e7c5..37bd18730fe0dfeaa7866bec640f3ab92c9b6ba3 100644 (file)
@@ -1222,4 +1222,5 @@ void vgacon_register_screen(struct screen_info *si)
        vga_si = si;
 }
 
+MODULE_DESCRIPTION("VGA based console driver");
 MODULE_LICENSE("GPL");