Commit 45c44ddd authored by Mark Hounschell's avatar Mark Hounschell Committed by Greg Kroah-Hartman

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: default avatarMark Hounschell <markh@compro.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 630b2abf
......@@ -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;
......
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