mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 04:21:03 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
54396b6b03
commit
54bf917ee1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user