tty: hvc: make symbol 'hvc_udbg_dev' static
authorYu Kuai <yukuai3@huawei.com>
Wed, 7 Apr 2021 12:58:26 +0000 (20:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Apr 2021 08:41:40 +0000 (10:41 +0200)
commit63bbdb4ea02b17f929fa4f5c536357183eba9639
treeab25168897c9ee3149824fd89a4af9a0912035fd
parent86b20677e8b657c8c9701edd907f356795e9e427
tty: hvc: make symbol 'hvc_udbg_dev' static

The sparse tool complains as follows:

drivers/tty/hvc/hvc_udbg.c:20:19: warning:
 symbol 'hvc_udbg_dev' was not declared. Should it be static?

This symbol is not used outside of hvc_udbg.c, so this
commit marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20210407125826.4139130-1-yukuai3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_udbg.c