From 54bf917ee15f93e631e7d55db47fceb724788c0b Mon Sep 17 00:00:00 2001 From: Aaro Koskinen Date: Sun, 2 Mar 2014 00:09:08 +0200 Subject: [PATCH] staging: octeon-ethernet: make global_register_lock static Make global_register_lock static to eliminate a sparse warning. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/octeon/ethernet-rgmii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -DEFINE_SPINLOCK(global_register_lock); +static DEFINE_SPINLOCK(global_register_lock); static int number_rgmii_ports; -- 2.30.2