diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-11 17:50:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-15 16:07:08 +0100 |
commit | df5dee80a75af1fba4dbdd0ea6041456d500beba (patch) | |
tree | 07cd893d0a6ed374f277156a05854e4d87684631 /drivers/staging/dgnc/dgnc_driver.c | |
parent | 373aa75a93c198ea58a2ee9cb4554089e61a36b5 (diff) | |
download | linux-df5dee80a75af1fba4dbdd0ea6041456d500beba.tar.bz2 |
staging: dgnc: make dgnc_poll_tick static
No one needs to see this global variable, so make it static.
Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_driver.c')
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index 3f2815c16ea7..801966282bdd 100644 --- a/drivers/staging/dgnc/dgnc_driver.c +++ b/drivers/staging/dgnc/dgnc_driver.c @@ -23,8 +23,8 @@ MODULE_SUPPORTED_DEVICE("dgnc"); static unsigned int dgnc_num_boards; struct dgnc_board *dgnc_board[MAXBOARDS]; static DEFINE_SPINLOCK(dgnc_poll_lock); /* Poll scheduling lock */ -int dgnc_poll_tick = 20; /* Poll interval - 20 ms */ +static int dgnc_poll_tick = 20; /* Poll interval - 20 ms */ static ulong dgnc_poll_time; /* Time of next poll */ static uint dgnc_poll_stop; /* Used to tell poller to stop */ static struct timer_list dgnc_poll_timer; |