Commit 58bbb19f authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Sync clock code with mainline

These can be static now that CONFIG_OMAP_RESET_CLOCKS
is rearranged.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 19bd1268
......@@ -630,8 +630,6 @@ static void __init omap1_clk_disable_unused(struct clk *clk)
printk(KERN_INFO "Disabling unused clock \"%s\"... ", clk->name);
clk->disable(clk);
printk(" done\n");
return 0;
}
#else
......
......@@ -11,7 +11,6 @@
* published by the Free Software Foundation.
*/
#include <linux/version.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
......@@ -28,9 +27,9 @@
#include <asm/arch/clock.h>
LIST_HEAD(clocks);
DEFINE_SPINLOCK(clockfw_lock);
static LIST_HEAD(clocks);
static DEFINE_MUTEX(clocks_mutex);
static DEFINE_SPINLOCK(clockfw_lock);
static struct clk_functions *arch_clock;
......
......@@ -49,8 +49,6 @@ 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);
......
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