aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/mxs/clk-imx23.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-25 02:53:08 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 04:30:01 -0400
commit633ef4c7d18982d184242d42056c622a433d93fe (patch)
tree083c25c02198299cd32d855ffd4b35224e4f7771 /drivers/clk/mxs/clk-imx23.c
parent3ed628a8122112ee796cd643e2478c4a6def234c (diff)
ARM: mxs: use CLKSRC_OF helper to initialize timer
Select CLKSRC_OF and use clocksource_of_init() to initialize timer, so that the call to mxs_timer_init() in clock driver can be removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/clk/mxs/clk-imx23.c')
-rw-r--r--drivers/clk/mxs/clk-imx23.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
index b5c06f9766f6..291cc44713f4 100644
--- a/drivers/clk/mxs/clk-imx23.c
+++ b/drivers/clk/mxs/clk-imx23.c
@@ -15,7 +15,6 @@
15#include <linux/init.h> 15#include <linux/init.h>
16#include <linux/io.h> 16#include <linux/io.h>
17#include <linux/of.h> 17#include <linux/of.h>
18#include <mach/common.h>
19#include <mach/mx23.h> 18#include <mach/mx23.h>
20#include "clk.h" 19#include "clk.h"
21 20
@@ -165,7 +164,5 @@ int __init mx23_clocks_init(void)
165 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) 164 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
166 clk_prepare_enable(clks[clks_init_on[i]]); 165 clk_prepare_enable(clks[clks_init_on[i]]);
167 166
168 mxs_timer_init();
169
170 return 0; 167 return 0;
171} 168}