mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
counter: 104-quad-8: Make quad8_ops static
Fix sparse warning: drivers/counter/104-quad-8.c:836:26: warning: symbol 'quad8_ops' was not declared. Should it be static? Signed-off-by: YueHaibing <[email protected]> Acked-by: William Breathitt Gray <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
31641e34e8
commit
17aa207e6e
1 changed files with 1 additions and 1 deletions
|
|
@ -833,7 +833,7 @@ static int quad8_action_get(struct counter_device *counter,
|
|||
return 0;
|
||||
}
|
||||
|
||||
const struct counter_ops quad8_ops = {
|
||||
static const struct counter_ops quad8_ops = {
|
||||
.signal_read = quad8_signal_read,
|
||||
.count_read = quad8_count_read,
|
||||
.count_write = quad8_count_write,
|
||||
|
|
|
|||
Loading…
Reference in a new issue