diff options
author | ruanjinjie <ruanjinjie@huawei.com> | 2022-10-19 14:44:12 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-03 03:52:36 +0100 |
commit | cc72a1eea5e3f712ab4d59615bf1d4479cee16fc (patch) | |
tree | dad4d58f402051f44a2b2a3f66a3a15acc8ddeea /drivers/tty | |
parent | 2cfc64f3f0e1c1136b1a8247e53dc24c54f0bf93 (diff) | |
download | linux-stable-cc72a1eea5e3f712ab4d59615bf1d4479cee16fc.tar.gz linux-stable-cc72a1eea5e3f712ab4d59615bf1d4479cee16fc.tar.bz2 linux-stable-cc72a1eea5e3f712ab4d59615bf1d4479cee16fc.zip |
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/hvc/hvc_rtas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_rtas.c b/drivers/tty/hvc/hvc_rtas.c index e8b8c645482b..184d325abeed 100644 --- a/drivers/tty/hvc/hvc_rtas.c +++ b/drivers/tty/hvc/hvc_rtas.c @@ -26,7 +26,7 @@ #include "hvc_console.h" #define hvc_rtas_cookie 0x67781e15 -struct hvc_struct *hvc_rtas_dev; +static struct hvc_struct *hvc_rtas_dev; static int rtascons_put_char_token = RTAS_UNKNOWN_SERVICE; static int rtascons_get_char_token = RTAS_UNKNOWN_SERVICE; |