summaryrefslogtreecommitdiffstats
path: root/lib/parman.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-08-18 10:56:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 13:51:18 +0200
commit9b07655c7740a97b918ebe7dc59447e29e22a957 (patch)
treee86bdfc3bef0e989c5545313b2bb65d913f8d7ec /lib/parman.c
parentnewport_con: fix no return statement in newport_show_logo (diff)
downloadlinux-9b07655c7740a97b918ebe7dc59447e29e22a957.tar.xz
linux-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 <jslaby@suse.cz> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: linux-mips@vger.kernel.org Link: https://lore.kernel.org/r/20200818085655.12071-3-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions