Skip to content

Commit

Permalink
ARM: i.MX25: Fix DT compilation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer committed Mar 14, 2013
1 parent f6161aa commit 42b8432
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/mach-imx/imx25-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 42b8432

Please sign in to comment.