diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-04-26 03:45:39 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-05 08:20:01 +0200 |
commit | 3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70 (patch) | |
tree | 629912c57b790fb384f262452247467390dd82ce /arch/arm/mach-davinci/clock.c | |
parent | ARM: provide a late_initcall hook for platform initialization (diff) | |
download | linux-3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70.tar.xz linux-3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70.zip |
ARM: davinci: use machine specific hook for late init
Cc: Kevin Hilman <khilman@ti.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/clock.c')
-rw-r--r-- | arch/arm/mach-davinci/clock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/clock.c b/arch/arm/mach-davinci/clock.c index 008772e3b843..34668ead53c7 100644 --- a/arch/arm/mach-davinci/clock.c +++ b/arch/arm/mach-davinci/clock.c @@ -213,7 +213,7 @@ EXPORT_SYMBOL(clk_unregister); /* * Disable any unused clocks left on by the bootloader */ -static int __init clk_disable_unused(void) +int __init davinci_clk_disable_unused(void) { struct clk *ck; @@ -237,7 +237,6 @@ static int __init clk_disable_unused(void) return 0; } -late_initcall(clk_disable_unused); #endif static unsigned long clk_sysclk_recalc(struct clk *clk) |