提交 46f417de 编写于 作者: R Richard Zhao 提交者: Sascha Hauer

ARM: mxc: time: add clk_prepare/clk_unprepare

It's for migrating to generic clk framework API.
Signed-off-by: NRichard Zhao <richard.zhao@linaro.org>
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
上级 62aa2b53
...@@ -283,7 +283,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq) ...@@ -283,7 +283,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
{ {
uint32_t tctl_val; uint32_t tctl_val;
clk_enable(timer_clk); clk_prepare_enable(timer_clk);
timer_base = base; timer_base = base;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册