OSDN Git Service

drivers: tty: Mark the function hvc_poll_init() as static in hvc_console.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 16 Dec 2013 11:01:28 +0000 (16:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 17:37:44 +0000 (09:37 -0800)
commit5855b2104b01e70e9db4352fce82689b214a6af2
treeb626f65098a26e4fe3aa0c30e476505205f6ff63
parent54af58363e43b557cf17374c12a825f5209ef464
drivers: tty: Mark the function hvc_poll_init() as static in hvc_console.c

Mark the function hvc_poll_init() as static in hvc/hvc_console.c because
it is not used outside this file.

This eliminates the following warning in hvc/hvc_console.c:
drivers/tty/hvc/hvc_console.c:791:5: warning: no previous prototype for ‘hvc_poll_init’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_console.c