Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] Introduce pcibios_plat_setup

Introduce pcibios_plat_setup for platform-specific pcibios_setup.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Atsushi Nemoto and committed by
Ralf Baechle
47a5c976 32d00d0f

+7 -1
+5 -1
arch/mips/pci/pci.c
··· 328 328 EXPORT_SYMBOL(PCIBIOS_MIN_MEM); 329 329 #endif 330 330 331 - char *pcibios_setup(char *str) 331 + char * (*pcibios_plat_setup)(char *str) __devinitdata; 332 + 333 + char *__devinit pcibios_setup(char *str) 332 334 { 335 + if (pcibios_plat_setup) 336 + return pcibios_plat_setup(str); 333 337 return str; 334 338 }
+2
include/asm-mips/pci.h
··· 174 174 175 175 extern int pci_probe_only; 176 176 177 + extern char * (*pcibios_plat_setup)(char *str); 178 + 177 179 #endif /* _ASM_PCI_H */