tty: hvc: make hvc_rtas_dev static
authorruanjinjie <ruanjinjie@huawei.com>
Wed, 19 Oct 2022 06:44:12 +0000 (14:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 02:52:36 +0000 (03:52 +0100)
commitcc72a1eea5e3f712ab4d59615bf1d4479cee16fc
treedad4d58f402051f44a2b2a3f66a3a15acc8ddeea
parent2cfc64f3f0e1c1136b1a8247e53dc24c54f0bf93
tty: hvc: make hvc_rtas_dev static

The symbol is not used outside of the file, so mark it static.

Fixes the following warning:

drivers/tty/hvc/hvc_rtas.c:29:19: warning: symbol 'hvc_rtas_dev' was
not declared. Should it be static?

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20221019064412.3759874-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_rtas.c