Skip to content

Commit 3402302

Browse files
Jeff Johnsonhdeller
authored andcommitted
video: console: add missing MODULE_DESCRIPTION() macros
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 <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 2d93937 commit 3402302

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

drivers/video/console/mdacon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,5 +561,6 @@ static void __exit mda_console_exit(void)
561561
module_init(mda_console_init);
562562
module_exit(mda_console_exit);
563563

564+
MODULE_DESCRIPTION("MDA based console driver");
564565
MODULE_LICENSE("GPL");
565566

drivers/video/console/newport_con.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,4 +744,5 @@ static struct gio_driver newport_driver = {
744744
};
745745
module_driver(newport_driver, gio_register_driver, gio_unregister_driver);
746746

747+
MODULE_DESCRIPTION("SGI Newport console driver");
747748
MODULE_LICENSE("GPL");

drivers/video/console/sticon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,4 +391,5 @@ static int __init sticonsole_init(void)
391391
}
392392

393393
module_init(sticonsole_init);
394+
MODULE_DESCRIPTION("HP STI console driver");
394395
MODULE_LICENSE("GPL");

drivers/video/console/vgacon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,4 +1222,5 @@ void vgacon_register_screen(struct screen_info *si)
12221222
vga_si = si;
12231223
}
12241224

1225+
MODULE_DESCRIPTION("VGA based console driver");
12251226
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)