浏览代码

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>
Juha Yrjola 19 年之前
父节点
当前提交
7df3450e5c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/arm/plat-omap/clock.c

+ 2 - 2
arch/arm/plat-omap/clock.c

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