uio: make symbol 'uio_class_registered' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 25 Sep 2018 15:05:20 +0000 (15:05 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:38:14 +0000 (15:38 -0700)
commit6011002c1584d29c317e0895b9667d57f254537a
treebfa06c7a8a19173e210f28cf6b8571f5a31fa1b5
parent25355252607ca288f329ee033f387764883393f6
uio: make symbol 'uio_class_registered' static

Fixes the following sparse warning:

drivers/uio/uio.c:277:6: warning:
 symbol 'uio_class_registered' was not declared. Should it be static?

Fixes: ae61cf5b9913 ("uio: ensure class is registered before devices")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c