]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: fix RESET_CLOCKS, was broken by gcc4 compile fixes
authorKevin Hilman <khilman@deeprooted.net>
Wed, 12 Jul 2006 14:14:49 +0000 (07:14 -0700)
committerKevin Hilman <khilman@deeprooted.net>
Wed, 12 Jul 2006 14:14:49 +0000 (07:14 -0700)
Signed-off-by: Kevin Hilman <khilman@deeprooted.net>
arch/arm/plat-omap/clock.c
include/asm-arm/arch-omap/clock.h

index d56c063fa7ede94d43dcb6c8839530e0daedeae7..b047be977b97db8ea56782010786404c766dc391 100644 (file)
@@ -28,9 +28,9 @@
 
 #include <asm/arch/clock.h>
 
-static LIST_HEAD(clocks);
+LIST_HEAD(clocks);
+DEFINE_SPINLOCK(clockfw_lock);
 static DEFINE_MUTEX(clocks_mutex);
-static DEFINE_SPINLOCK(clockfw_lock);
 
 static struct clk_functions *arch_clock;
 
index f83003f5287b04dbd63b3998ea8e98beae0b7286..3c4eb9fbe48ac58aae335666168b0a6dc0454ad6 100644 (file)
@@ -48,6 +48,8 @@ struct clk_functions {
 };
 
 extern unsigned int mpurate;
+extern struct list_head clocks;
+extern spinlock_t clockfw_lock;
 
 extern int clk_init(struct clk_functions * custom_clocks);
 extern int clk_register(struct clk *clk);