summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@linaro.org>2011-11-15 14:48:00 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-01 14:28:00 +0100
commit8f33eed0844d41f2cc3e0d38f866041590c0fbe1 (patch)
treef8a8c9b78d958f61535ed4164552ce4d2278e7ae
parentc23c081a471b81e53707512d3aec553aaad52cc4 (diff)
ARM: mxc: epit: add clk_prepare/clk_unprepare
It's for migrating to generic clk framework API. Signed-off-by: Richard Zhao <richard.zhao@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/plat-mxc/epit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/epit.c b/arch/arm/plat-mxc/epit.c
index d3467f818c3..9129c9e7d53 100644
--- a/arch/arm/plat-mxc/epit.c
+++ b/arch/arm/plat-mxc/epit.c
@@ -203,7 +203,7 @@ static int __init epit_clockevent_init(struct clk *timer_clk)
void __init epit_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
{
- clk_enable(timer_clk);
+ clk_prepare_enable(timer_clk);
timer_base = base;