ramips: rt288x: don't register the PCI controller on each board
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / rt288x.h
index 3eb036fbb891c6672974cac88ed1bb5f499ff2fc..29c7a72050ecd19da1ce1de7077b02e0b0134baa 100644 (file)
@@ -66,4 +66,10 @@ static inline u32 rt288x_memc_rr(unsigned reg)
 
 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_ */