diff options
author | James A Shackleford <shack@linux.com> | 2014-06-01 19:34:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-01 16:46:56 -0700 |
commit | f4d90513c83d8d8e2e33f88c1ccba1db2dc31e72 (patch) | |
tree | 08489eabda9884d7c63e9a615036abe8adb5f4cb /drivers/staging | |
parent | 5b39bd5f33bb65f60492441bf6b50d88bc843e1c (diff) | |
download | linux-f4d90513c83d8d8e2e33f88c1ccba1db2dc31e72.tar.gz linux-f4d90513c83d8d8e2e33f88c1ccba1db2dc31e72.tar.bz2 linux-f4d90513c83d8d8e2e33f88c1ccba1db2dc31e72.zip |
staging: silicom: fix sparse warning for static variable
This patch fixes the following sparse warning in bpctl_mod.c:
warning: symbol 'bpvm_lock' was not declared. Should it be static?
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/silicom/bpctl_mod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c index f74b5e711609..765fce84d9dd 100644 --- a/drivers/staging/silicom/bpctl_mod.c +++ b/drivers/staging/silicom/bpctl_mod.c @@ -41,7 +41,7 @@ MODULE_AUTHOR("Anna Lukin, annal@silicom.co.il"); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION(BP_MOD_DESCR); MODULE_VERSION(BP_MOD_VER); -spinlock_t bpvm_lock; +static spinlock_t bpvm_lock; #define unlock_bpctl() \ up(&bpctl_sema); |