diff options
author | Richard Zhao <richard.zhao@linaro.org> | 2011-11-15 14:48:00 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-01 14:28:00 +0100 |
commit | 8f33eed0844d41f2cc3e0d38f866041590c0fbe1 (patch) | |
tree | f8a8c9b78d958f61535ed4164552ce4d2278e7ae /arch/arm | |
parent | c23c081a471b81e53707512d3aec553aaad52cc4 (diff) | |
download | blackbird-op-linux-8f33eed0844d41f2cc3e0d38f866041590c0fbe1.tar.gz blackbird-op-linux-8f33eed0844d41f2cc3e0d38f866041590c0fbe1.zip |
ARM: mxc: epit: 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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-mxc/epit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/epit.c b/arch/arm/plat-mxc/epit.c index d3467f818c33..9129c9e7d532 100644 --- a/arch/arm/plat-mxc/epit.c +++ b/arch/arm/plat-mxc/epit.c @@ -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; |