summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/epit.c
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@linaro.org>2011-11-15 10:48:00 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-01 17:28:00 +0400
commit8f33eed0844d41f2cc3e0d38f866041590c0fbe1 (patch)
treef8a8c9b78d958f61535ed4164552ce4d2278e7ae /arch/arm/plat-mxc/epit.c
parentc23c081a471b81e53707512d3aec553aaad52cc4 (diff)
downloadlinux-8f33eed0844d41f2cc3e0d38f866041590c0fbe1.tar.xz
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>
Diffstat (limited to 'arch/arm/plat-mxc/epit.c')
-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 d3467f818c33..9129c9e7d532 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;