.resource = &cfi_flash_resource,
};
-static int __init ap_init(void)
+static void __init ap_init(void)
{
unsigned long sc_dec;
int i;
lm_device_register(lmdev);
}
-
- return 0;
}
-arch_initcall(ap_init);
-
MACHINE_START(INTEGRATOR, "ARM-Integrator")
MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd")
BOOT_MEM(0x00000000, 0x16000000, 0xf1600000)
BOOT_PARAMS(0x00000100)
MAPIO(ap_map_io)
INITIRQ(ap_init_irq)
+ INIT_MACHINE(ap_init)
MACHINE_END
ASSABET_BCR_clear(ASSABET_BCR_LCD_ON);
}
-static int __init assabet_init(void)
+static void __init assabet_init(void)
{
- if (!machine_is_assabet())
- return -EINVAL;
-
/*
* Ensure that the power supply is in "high power" mode.
*/
"hasn't been configured in the kernel\n" );
#endif
}
-
- return 0;
}
-arch_initcall(assabet_init);
-
-
/*
* On Assabet, we must probe for the Neponset board _before_
* paging_init() has occurred to actually determine the amount
FIXUP(fixup_assabet)
MAPIO(assabet_map_io)
INITIRQ(sa1100_init_irq)
+ INIT_MACHINE(assabet_init)
MACHINE_END