diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-12 06:29:04 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-12 06:29:04 -0400 |
commit | 9fe5ee0efb1b1d4a0939bc4252a8427e3337d96a (patch) | |
tree | 5a1d8b6e7d92a8f83ba94ea22feccef2461f1f9b /arch/sh/kernel/cpu/clock.c | |
parent | f3f8290cb3fa4aa627321530bb85d5f35e487433 (diff) |
sh: clkfwk: Use arch_clk_init() for on-chip clock registration.
CPUs registering on-chip clocks should be using arch_clk_init() with the
new scheme so that the CPUs have the opportunity to establish the
topology prior to the initial root clock rate propagation. This ensures
that CPUs with on-chip clocks that use CLK_ENABLE_ON_INIT are properly
enabled at the initial propagation time, without having to further poke
the root clocks.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/clock.c')
-rw-r--r-- | arch/sh/kernel/cpu/clock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index 9e1fc133a473..f833843a194a 100644 --- a/arch/sh/kernel/cpu/clock.c +++ b/arch/sh/kernel/cpu/clock.c | |||
@@ -437,13 +437,7 @@ void clk_put(struct clk *clk) | |||
437 | } | 437 | } |
438 | EXPORT_SYMBOL_GPL(clk_put); | 438 | EXPORT_SYMBOL_GPL(clk_put); |
439 | 439 | ||
440 | void __init __attribute__ ((weak)) | 440 | int __init __weak arch_clk_init(void) |
441 | arch_init_clk_ops(struct clk_ops **ops, int type) | ||
442 | { | ||
443 | } | ||
444 | |||
445 | int __init __attribute__ ((weak)) | ||
446 | arch_clk_init(void) | ||
447 | { | 441 | { |
448 | return 0; | 442 | return 0; |
449 | } | 443 | } |