diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-12-20 00:50:11 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2011-12-28 08:26:07 -0500 |
commit | ae68f7af05dbce25889ab10b302fba927dcdb295 (patch) | |
tree | ad32e84db139482901f754c16a210540a9548af3 /arch/arm/mach-mxs/timer.c | |
parent | 42c5d52f2bbf68add2d7a6982753993e0c75a119 (diff) |
ARM: mxs: convert platform code to clk_prepare/clk_unprepare
The patch converts mxs platform code to clk_prepare/clk_unprepare
by using helper functions clk_prepare_enable/clk_disable_unprepare.
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/timer.c')
-rw-r--r-- | arch/arm/mach-mxs/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/timer.c b/arch/arm/mach-mxs/timer.c index cace0d2e5a55..564a63279f18 100644 --- a/arch/arm/mach-mxs/timer.c +++ b/arch/arm/mach-mxs/timer.c | |||
@@ -245,7 +245,7 @@ static int __init mxs_clocksource_init(struct clk *timer_clk) | |||
245 | 245 | ||
246 | void __init mxs_timer_init(struct clk *timer_clk, int irq) | 246 | void __init mxs_timer_init(struct clk *timer_clk, int irq) |
247 | { | 247 | { |
248 | clk_enable(timer_clk); | 248 | clk_prepare_enable(timer_clk); |
249 | 249 | ||
250 | /* | 250 | /* |
251 | * Initialize timers to a known state | 251 | * Initialize timers to a known state |