]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb91ab16386cb9bdb4de27f0d522f9781a14ea6fc
treeab25168897c9ee3149824fd89a4af9a0912035fd
parent67a9a189511dec61a774ea97c2f9b30ea0a6d8b3
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