diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2014-03-02 02:09:08 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-05 04:42:28 +0400 |
commit | 54bf917ee15f93e631e7d55db47fceb724788c0b (patch) | |
tree | bac2860d722bf33dd05e5f2abb007750f3aebf4a /drivers/staging/octeon/ethernet-rgmii.c | |
parent | 54396b6b033a300ad6efda1f697df9bd23fbf56c (diff) | |
download | linux-54bf917ee15f93e631e7d55db47fceb724788c0b.tar.xz |
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/ethernet-rgmii.c')
-rw-r--r-- | drivers/staging/octeon/ethernet-rgmii.c | 2 |
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; |