Patch from David Brownell
This just makes the IDP initialization code use this initcall, so
that it won't run unless it's actually on IDP hardware.
Depends on the INIT_MACHINE patch (#1 this series).
#endif
-static int __init idp_init(void)
+static void __init idp_init(void)
{
printk("idp_init()\n");
- return 0;
}
-__initcall(idp_init);
-
static void __init idp_init_irq(void)
{
pxa_init_irq();
BOOT_MEM(0xa0000000, 0x40000000, 0xfc000000)
MAPIO(idp_map_io)
INITIRQ(idp_init_irq)
+ INIT_MACHINE(idp_init)
MACHINE_END