From: Richard Zhao Date: Tue, 15 Nov 2011 06:47:57 +0000 (+0800) Subject: ARM: mxc: time: add clk_prepare/clk_unprepare X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46f417def895331341b277c2af9805c8cba80bc7;p=mv-sheeva.git ARM: mxc: time: add clk_prepare/clk_unprepare It's for migrating to generic clk framework API. Signed-off-by: Richard Zhao Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/plat-mxc/time.c b/arch/arm/plat-mxc/time.c index 1c96cdb4c35..7daf7c9a413 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;