TI816X: Update to use init_early
authorTony Lindgren <tony@atomide.com>
Wed, 16 Feb 2011 16:45:46 +0000 (08:45 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 16 Feb 2011 16:45:46 +0000 (08:45 -0800)
Update to use init_early

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-ti8168evm.c

index 6282cc4a97726e396dc009ec519e3acbcfba990e..f2b097190e07086c964690443d2842e9fe657e4e 100644 (file)
 static struct omap_board_config_kernel ti8168_evm_config[] __initdata = {
 };
 
-static void __init ti8168_evm_init_irq(void)
+static void __init ti8168_init_early(void)
 {
        omap_board_config = ti8168_evm_config;
        omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);
        omap2_init_common_infrastructure();
        omap2_init_common_devices(NULL, NULL);
+}
+
+static void __init ti8168_evm_init_irq(void)
+{
        omap_init_irq();
 }
 
@@ -51,6 +55,7 @@ MACHINE_START(TI8168EVM, "ti8168evm")
        /* Maintainer: Texas Instruments */
        .boot_params    = 0x80000100,
        .map_io         = ti8168_evm_map_io,
+       .init_early     = ti8168_init_early,
        .init_irq       = ti8168_evm_init_irq,
        .timer          = &omap_timer,
        .init_machine   = ti8168_evm_init,