diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-11 14:50:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-11 14:50:44 -0400 |
commit | a02cb230bb4fca04f091746c593de720a0e3a94a (patch) | |
tree | b492976b4a4ee701c93fa12882510ddd41e2a26c /arch/sh/include/asm/clock.h | |
parent | b68d8201433a91cabbcbeae48b53d8c1c426433a (diff) |
sh: clkfwk: Add a followparent_recalc() helper.
This adds a followparent_recalc() helper for clocks that just follow the
parent's rate. Switch over the few CPUs that use this scheme for some of
their clocks.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r-- | arch/sh/include/asm/clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index d63352b375cc..241f1c1d9ce1 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h | |||
@@ -44,7 +44,7 @@ int __init arch_clk_init(void); | |||
44 | 44 | ||
45 | /* arch/sh/kernel/cpu/clock.c */ | 45 | /* arch/sh/kernel/cpu/clock.c */ |
46 | int clk_init(void); | 46 | int clk_init(void); |
47 | 47 | unsigned long followparent_recalc(struct clk *clk); | |
48 | void clk_recalc_rate(struct clk *); | 48 | void clk_recalc_rate(struct clk *); |
49 | 49 | ||
50 | int clk_register(struct clk *); | 50 | int clk_register(struct clk *); |