]> err.no Git - linux-2.6/commitdiff
ARM: OMAP: Make clock variables static
authorJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 26 Jun 2006 23:16:22 +0000 (16:16 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 26 Jun 2006 23:16:22 +0000 (16:16 -0700)
Since the mutex protecting the clock list is static, the list
itself should be too.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/clock.c

index 32ec04c58bcd4fb66e4647d63c5cab6fbbb1e758..dcd9d81201fa3d7e7ce692473066e686f30fa5fd 100644 (file)
@@ -28,9 +28,9 @@
 
 #include <asm/arch/clock.h>
 
-LIST_HEAD(clocks);
+static LIST_HEAD(clocks);
 static DEFINE_MUTEX(clocks_mutex);
-DEFINE_SPINLOCK(clockfw_lock);
+static DEFINE_SPINLOCK(clockfw_lock);
 
 static struct clk_functions *arch_clock;