From: Stefan Wahren Date: Sun, 8 Jan 2017 18:15:13 +0000 (+0000) Subject: staging: vchiq_core: make local spinlock static X-Git-Tag: v4.14-rc1~1455^2~378 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=943166738272224ed7f1a0d9f74761af8c3e7814;p=platform%2Fkernel%2Flinux-rpi.git staging: vchiq_core: make local spinlock static The quota_spinlock is only local. So make it static. Signed-off-by: Stefan Wahren Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c index e788561..623163a 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -90,7 +90,7 @@ static atomic_t pause_bulks_count = ATOMIC_INIT(0); static DEFINE_SPINLOCK(service_spinlock); DEFINE_SPINLOCK(bulk_waiter_spinlock); -DEFINE_SPINLOCK(quota_spinlock); +static DEFINE_SPINLOCK(quota_spinlock); VCHIQ_STATE_T *vchiq_states[VCHIQ_MAX_STATES]; static unsigned int handle_seq;