aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx31-dt.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-09-26 03:03:43 +0300
committerShawn Guo <shawnguo@kernel.org>2016-11-01 16:44:46 +0800
commit6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0 (patch)
tree78ef7c4c91e5d2695fde3b6139d511c1276556ac /arch/arm/mach-imx/imx31-dt.c
parentclk: imx31: fix rewritten input argument of mx31_clocks_init() (diff)
downloadlinux-dev-6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0.tar.xz
linux-dev-6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0.zip
ARM: clk: imx31: properly init clocks for machines with DT
Clock initialization for i.MX31 powered machines with DT support should be done by a call of an init function registered with CLK_OF_DECLARE() in common clock framework. The change converts exported mx31_clocks_init_dt() into a static initialization function registered by CLK_OF_DECLARE(). Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/imx31-dt.c')
-rw-r--r--arch/arm/mach-imx/imx31-dt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-imx/imx31-dt.c b/arch/arm/mach-imx/imx31-dt.c
index 62e6b4fb5370..668d74b72511 100644
--- a/arch/arm/mach-imx/imx31-dt.c
+++ b/arch/arm/mach-imx/imx31-dt.c
@@ -23,11 +23,6 @@ static const char * const imx31_dt_board_compat[] __initconst = {
NULL
};
-static void __init imx31_dt_timer_init(void)
-{
- mx31_clocks_init_dt();
-}
-
/* FIXME: replace with DT binding */
static const struct resource imx31_rnga_res[] __initconst = {
DEFINE_RES_MEM(MX31_RNGA_BASE_ADDR, SZ_16K),
@@ -43,7 +38,6 @@ DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)")
.map_io = mx31_map_io,
.init_early = imx31_init_early,
.init_irq = mx31_init_irq,
- .init_time = imx31_dt_timer_init,
.init_machine = imx31_dt_mach_init,
.dt_compat = imx31_dt_board_compat,
MACHINE_END