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>
This commit is contained in:
Alexander Shiyan
2014-07-13 09:34:00 +04:00
committed by Shawn Guo
부모 6befda9a27
커밋 fd4959d877
10개의 변경된 파일12개의 추가작업 그리고 25개의 파일을 삭제

파일 보기

@@ -335,7 +335,5 @@ static void __init mx25_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,imx25-gpt"));
}
CLK_OF_DECLARE(imx25_ccm, "fsl,imx25-ccm", mx25_clocks_init_dt);