]> 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)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2006 10:33:10 +0000 (13:33 +0300)
Signed-off-by: Kevin Hilman <khilman@deeprooted.net>
(cherry picked from 64929d882591a213cb51407992f28c42121b2f7d commit)

arch/arm/plat-omap/clock.c
include/asm-arm/arch-omap/clock.h

index 43931d927bbaeb74920bb41068dc6591c94a4b7b..79a82f89c0680fe91dcdf208241895b3ff9e479b 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 fa68810499034057f5b8544606a8579dd8d58eee..53e89494cd604c6d1034aa233b3295b1da10bc65 100644 (file)
@@ -49,6 +49,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);