aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-08-19 20:51:45 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-09-02 21:31:50 -0400
commiteeca6e604032af8336baafef84144dd47f5a0f99 (patch)
treecff564b1bf3de3ead8186fac9dec332a0cf3a170 /drivers/clk
parent0b76c5412146c1c9e8aef495d2926f31351bc3c0 (diff)
ARM: mxs: retrieve timer irq from device tree
Rather than using the static timer irq definition, we should retrieve timer irq from device tree for better. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/mxs/clk-imx23.c2
-rw-r--r--drivers/clk/mxs/clk-imx28.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
index 844043ad0fe4..e0dc3f8d9866 100644
--- a/drivers/clk/mxs/clk-imx23.c
+++ b/drivers/clk/mxs/clk-imx23.c
@@ -200,7 +200,7 @@ int __init mx23_clocks_init(void)
200 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) 200 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
201 clk_prepare_enable(clks[clks_init_on[i]]); 201 clk_prepare_enable(clks[clks_init_on[i]]);
202 202
203 mxs_timer_init(MX23_INT_TIMER0); 203 mxs_timer_init();
204 204
205 return 0; 205 return 0;
206} 206}
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index e3aab67b3eb7..9df864dc65a3 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -337,7 +337,7 @@ int __init mx28_clocks_init(void)
337 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) 337 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
338 clk_prepare_enable(clks[clks_init_on[i]]); 338 clk_prepare_enable(clks[clks_init_on[i]]);
339 339
340 mxs_timer_init(MX28_INT_TIMER0); 340 mxs_timer_init();
341 341
342 return 0; 342 return 0;
343} 343}