Commit 8f33eed0 authored by Richard Zhao's avatar Richard Zhao Committed by Sascha Hauer

ARM: mxc: epit: add clk_prepare/clk_unprepare

It's for migrating to generic clk framework API.
Signed-off-by: default avatarRichard Zhao <richard.zhao@linaro.org>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent c23c081a
...@@ -203,7 +203,7 @@ static int __init epit_clockevent_init(struct clk *timer_clk) ...@@ -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) 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; timer_base = base;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment