ARM: omap1: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
@@ -595,7 +595,12 @@ gpio_free:
|
||||
gpio_free(AMS_DELTA_GPIO_PIN_MODEM_IRQ);
|
||||
return err;
|
||||
}
|
||||
late_initcall(late_init);
|
||||
|
||||
static void __init ams_delta_init_late(void)
|
||||
{
|
||||
omap1_init_late();
|
||||
late_init();
|
||||
}
|
||||
|
||||
static void __init ams_delta_map_io(void)
|
||||
{
|
||||
@@ -611,6 +616,7 @@ MACHINE_START(AMS_DELTA, "Amstrad E3 (Delta)")
|
||||
.reserve = omap_reserve,
|
||||
.init_irq = omap1_init_irq,
|
||||
.init_machine = ams_delta_init,
|
||||
.init_late = ams_delta_init_late,
|
||||
.timer = &omap1_timer,
|
||||
.restart = omap1_restart,
|
||||
MACHINE_END
|
||||
|
Reference in New Issue
Block a user