mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
staging: dgap: fix sparse warning about dgap_poll_lock
This patch fixes a sparse warning: warning: symbol 'dgap_poll_lock' was not declared. Should it be static? Signed-off-by: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
630b2abf9c
commit
45c44ddd01
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ static uint dgap_count = 500;
|
|||
/*
|
||||
* Poller stuff
|
||||
*/
|
||||
DEFINE_SPINLOCK(dgap_poll_lock); /* Poll scheduling lock */
|
||||
static DEFINE_SPINLOCK(dgap_poll_lock); /* Poll scheduling lock */
|
||||
static ulong dgap_poll_time; /* Time of next poll */
|
||||
static uint dgap_poll_stop; /* Used to tell poller to stop */
|
||||
static struct timer_list dgap_poll_timer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue