Signed-off-by: Kevin Hilman <khilman@deeprooted.net>
#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;
};
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_register(struct clk *clk);
extern int clk_init(struct clk_functions * custom_clocks);
extern int clk_register(struct clk *clk);