mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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: ae61cf5b99 ("uio: ensure class is registered before devices")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
2535525260
commit
6011002c15
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ static struct class uio_class = {
|
|||
.dev_groups = uio_groups,
|
||||
};
|
||||
|
||||
bool uio_class_registered;
|
||||
static bool uio_class_registered;
|
||||
|
||||
/*
|
||||
* device functions
|
||||
|
|
|
|||
Loading…
Reference in a new issue