Commit 64929d88 authored by Kevin Hilman's avatar Kevin Hilman

ARM: OMAP: fix RESET_CLOCKS, was broken by gcc4 compile fixes

Signed-off-by: default avatarKevin Hilman <khilman@deeprooted.net>
parent f44b4586
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
static LIST_HEAD(clocks); LIST_HEAD(clocks);
DEFINE_SPINLOCK(clockfw_lock);
static DEFINE_MUTEX(clocks_mutex); static DEFINE_MUTEX(clocks_mutex);
static DEFINE_SPINLOCK(clockfw_lock);
static struct clk_functions *arch_clock; static struct clk_functions *arch_clock;
......
...@@ -48,6 +48,8 @@ struct clk_functions { ...@@ -48,6 +48,8 @@ struct clk_functions {
}; };
extern unsigned int mpurate; 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_init(struct clk_functions * custom_clocks);
extern int clk_register(struct clk *clk); extern int clk_register(struct clk *clk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment