diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-07-13 09:34:00 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 16:11:39 +0800 |
commit | fd4959d8779a8e7099c6ecf4f7c854dbf34890e9 (patch) | |
tree | 6a26d8b527816a9c59e36e07378e85c60fa33cbb /arch/arm/mach-imx/clk-imx21.c | |
parent | 6befda9a272b98bfb1dc772efc3564644cbfb270 (diff) | |
download | blackbird-op-linux-fd4959d8779a8e7099c6ecf4f7c854dbf34890e9.tar.gz blackbird-op-linux-fd4959d8779a8e7099c6ecf4f7c854dbf34890e9.zip |
ARM: i.MX: Use CLOCKSOURCE_OF_DECLARE() for DT targets
This patch uses clocksource_of_init() call for DT targets.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx21.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx21.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk-imx21.c b/arch/arm/mach-imx/clk-imx21.c index 6b36738b170d..4b4c75339aa6 100644 --- a/arch/arm/mach-imx/clk-imx21.c +++ b/arch/arm/mach-imx/clk-imx21.c @@ -167,7 +167,5 @@ static void __init mx21_clocks_init_dt(struct device_node *np) clk_data.clks = clk; clk_data.clk_num = ARRAY_SIZE(clk); of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); - - mxc_timer_init_dt(of_find_compatible_node(NULL, NULL, "fsl,imx1-gpt")); } CLK_OF_DECLARE(imx27_ccm, "fsl,imx21-ccm", mx21_clocks_init_dt); |