aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/clock.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-11 14:50:44 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-11 14:50:44 -0400
commita02cb230bb4fca04f091746c593de720a0e3a94a (patch)
treeb492976b4a4ee701c93fa12882510ddd41e2a26c /arch/sh/include/asm/clock.h
parentb68d8201433a91cabbcbeae48b53d8c1c426433a (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.h2
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 */
46int clk_init(void); 46int clk_init(void);
47 47unsigned long followparent_recalc(struct clk *clk);
48void clk_recalc_rate(struct clk *); 48void clk_recalc_rate(struct clk *);
49 49
50int clk_register(struct clk *); 50int clk_register(struct clk *);