staging: octeon-ethernet: make global_register_lock static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 1 Mar 2014 22:09:08 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Mar 2014 00:42:28 +0000 (16:42 -0800)
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>
drivers/staging/octeon/ethernet-rgmii.c

index ea53af30dfa7c619f7d500a8dc3518d648916270..40297ceb86af6d855e06d31fbc6718a18a78b0b8 100644 (file)
@@ -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;