aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_buffer.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-08-18 08:56:50 +0000
committerGreg Kroah-Hartman <[email protected]>2020-08-18 11:51:18 +0000
commit9b07655c7740a97b918ebe7dc59447e29e22a957 (patch)
treee86bdfc3bef0e989c5545313b2bb65d913f8d7ec /drivers/tty/tty_buffer.c
parentnewport_con: fix no return statement in newport_show_logo (diff)
downloadkernel-9b07655c7740a97b918ebe7dc59447e29e22a957.tar.gz
kernel-9b07655c7740a97b918ebe7dc59447e29e22a957.zip
newport_con: make module's init & exit static using module_driver
The compiler complains that newport_console_init and newport_console_exit are not declared: drivers/video/console/newport_con.c:745:12: warning: no previous prototype for 'newport_console_init' drivers/video/console/newport_con.c:750:13: warning: no previous prototype for 'newport_console_exit' Here, it translates into: they should be marked static. Do so by converting the simple un/registration to module_driver(). Signed-off-by: Jiri Slaby <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions