tty: hvc: hvc_vio: Staticify function invoked only by reference
authorLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 19:35:45 +0000 (19:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 09:54:05 +0000 (10:54 +0100)
commit109af2a82a36e0cedb54988406e6b40de67272c7
tree7b1fa6615e8f80fc93ef470477b70daf3cc8dd56
parent216daa1209e6be8cf98ebf6da2dd55e48d474ebe
tty: hvc: hvc_vio: Staticify function invoked only by reference

Fixes the following W=1 kernel build warning(s):

 drivers/tty/hvc/hvc_vio.c:181:6: warning: no previous prototype for ‘hvterm_hvsi_hangup’ [-Wmissing-prototypes]
 181 | void hvterm_hvsi_hangup(struct hvc_struct *hp, int data)
 | ^~~~~~~~~~~~~~~~~~

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-33-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_vio.c