summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/clock.c
diff options
context:
space:
mode:
authorJuha Yrjola <juha.yrjola@solidboot.com>2006-06-27 03:16:22 +0400
committerTony Lindgren <tony@atomide.com>2006-06-27 03:16:22 +0400
commit7df3450e5c22ba3969e4253dce0d7807dd210bf0 (patch)
tree2fca1bc751392583f4e7c4396f1e93e024c7933b /arch/arm/plat-omap/clock.c
parent2aab6468b7f88df60828f8e07cfdf8c87338ed8d (diff)
downloadlinux-7df3450e5c22ba3969e4253dce0d7807dd210bf0.tar.xz
ARM: OMAP: Make clock variables static
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>
Diffstat (limited to 'arch/arm/plat-omap/clock.c')
-rw-r--r--arch/arm/plat-omap/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c
index 32ec04c58bcd..dcd9d81201fa 100644
--- a/arch/arm/plat-omap/clock.c
+++ b/arch/arm/plat-omap/clock.c
@@ -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;