void rt288x_gpio_init(u32 mode);
+#ifdef CONFIG_PCI
+int rt288x_register_pci(void);
+#else
+static inline int rt288x_register_pci(void) { return 0; }
+#endif /* CONFIG_PCI */
+
#endif /* _RT228X_H_ */
return irq;
}
-static int __init rt2880_pci_init(void)
+int __init rt288x_register_pci(void)
{
void __iomem *io_map_base;
int i;
{
return 0;
}
-
-arch_initcall(rt2880_pci_init);
rt288x_register_ethernet();
rt288x_register_wdt();
+ rt288x_register_pci();
}
MIPS_MACHINE(RAMIPS_MACH_V11ST_FE, "V11ST-FE", "Ralink V11ST-FE", rt_v11st_fe_init);