summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2014-03-02 00:09:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-04 16:42:28 -0800
commit54bf917ee15f93e631e7d55db47fceb724788c0b (patch)
treebac2860d722bf33dd05e5f2abb007750f3aebf4a /drivers/staging/octeon
parent54396b6b033a300ad6efda1f697df9bd23fbf56c (diff)
downloadtalos-obmc-linux-54bf917ee15f93e631e7d55db47fceb724788c0b.tar.gz
talos-obmc-linux-54bf917ee15f93e631e7d55db47fceb724788c0b.zip
staging: octeon-ethernet: make global_register_lock static
Make global_register_lock static to eliminate a sparse warning. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon')
-rw-r--r--drivers/staging/octeon/ethernet-rgmii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-rgmii.c b/drivers/staging/octeon/ethernet-rgmii.c
index ea53af30dfa7..40297ceb86af 100644
--- a/drivers/staging/octeon/ethernet-rgmii.c
+++ b/drivers/staging/octeon/ethernet-rgmii.c
@@ -43,7 +43,7 @@
#include <asm/octeon/cvmx-npi-defs.h>
#include <asm/octeon/cvmx-gmxx-defs.h>
-DEFINE_SPINLOCK(global_register_lock);
+static DEFINE_SPINLOCK(global_register_lock);
static int number_rgmii_ports;
OpenPOWER on IntegriCloud