summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-03-14 12:52:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-14 12:52:39 +0100
commit42b84328428bfe305fcb60eb382fba60cee9071f (patch)
treecc430e7f4fc520f56730aeb1d527c174543d2d7c /arch/arm/mach-imx
parentLinux 3.9-rc2 (diff)
downloadlinux-42b84328428bfe305fcb60eb382fba60cee9071f.tar.xz
linux-42b84328428bfe305fcb60eb382fba60cee9071f.zip
ARM: i.MX25: Fix DT compilation
The i.MX25 DT machine descriptor calls a non existing imx25_timer_init() function. This patch adds it to fix compilation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/imx25-dt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx25-dt.c b/arch/arm/mach-imx/imx25-dt.c
index 03b65e5ea541..82348391582a 100644
--- a/arch/arm/mach-imx/imx25-dt.c
+++ b/arch/arm/mach-imx/imx25-dt.c
@@ -27,6 +27,11 @@ static const char * const imx25_dt_board_compat[] __initconst = {
NULL
};
+static void __init imx25_timer_init(void)
+{
+ mx25_clocks_init_dt();
+}
+
DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)")
.map_io = mx25_map_io,
.init_early = imx25_init_early,