]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/pci/pci.c
[MIPS] Introduce pcibios_plat_setup
[linux-2.6-omap-h63xx.git] / arch / mips / pci / pci.c
index 77bd5b68dc430beab3dde6dbefde63b1eca557ca..c7fe6ec621e68524b0e4ef5d391e7e47d43e472a 100644 (file)
@@ -328,7 +328,11 @@ EXPORT_SYMBOL(PCIBIOS_MIN_IO);
 EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
 #endif
 
-char *pcibios_setup(char *str)
+char * (*pcibios_plat_setup)(char *str) __devinitdata;
+
+char *__devinit pcibios_setup(char *str)
 {
+       if (pcibios_plat_setup)
+               return pcibios_plat_setup(str);
        return str;
 }