diff options
author | Richard Zhao <richard.zhao@linaro.org> | 2011-11-15 14:47:57 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-01 14:27:59 +0100 |
commit | 46f417def895331341b277c2af9805c8cba80bc7 (patch) | |
tree | e994f5bd043e7164a02fa84519e96d53f16a418d | |
parent | 62aa2b537c6f5957afd98e29f96897419ed5ebab (diff) | |
download | linux-46f417def895331341b277c2af9805c8cba80bc7.tar.gz linux-46f417def895331341b277c2af9805c8cba80bc7.tar.bz2 linux-46f417def895331341b277c2af9805c8cba80bc7.zip |
ARM: mxc: time: 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>
-rw-r--r-- | arch/arm/plat-mxc/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/time.c b/arch/arm/plat-mxc/time.c index 1c96cdb4c35e..7daf7c9a413b 100644 --- a/arch/arm/plat-mxc/time.c +++ b/arch/arm/plat-mxc/time.c @@ -283,7 +283,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq) { uint32_t tctl_val; - clk_enable(timer_clk); + clk_prepare_enable(timer_clk); timer_base = base; |