Commit 6011002c authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman

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: ae61cf5b ("uio: ensure class is registered before devices")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 25355252
......@@ -274,7 +274,7 @@ static struct class uio_class = {
.dev_groups = uio_groups,
};
bool uio_class_registered;
static bool uio_class_registered;
/*
* device functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment