Skip to content

Commit

Permalink
ARM: mxc: epit: add clk_prepare/clk_unprepare
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Zhao authored and Sascha Hauer committed Feb 1, 2012
1 parent c23c081 commit 8f33eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/epit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8f33eed

Please sign in to comment.