summaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-11 20:50:44 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-05-11 20:50:44 +0200
commita02cb230bb4fca04f091746c593de720a0e3a94a (patch)
treeb492976b4a4ee701c93fa12882510ddd41e2a26c /arch/sh/include
parentsh: clkfwk: Make recalc return an unsigned long. (diff)
downloadlinux-a02cb230bb4fca04f091746c593de720a0e3a94a.tar.xz
linux-a02cb230bb4fca04f091746c593de720a0e3a94a.zip
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')
-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);
/* arch/sh/kernel/cpu/clock.c */
int clk_init(void);
-
+unsigned long followparent_recalc(struct clk *clk);
void clk_recalc_rate(struct clk *);
int clk_register(struct clk *);