From 10d61c7a646ac50b32a811529e0ec3539e10ba4e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 4 Feb 2004 21:19:48 -0800 Subject: [PATCH] [PATCH] ppc64: Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen From: anton@samba.org Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen --- include/asm-ppc64/pci.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/asm-ppc64/pci.h b/include/asm-ppc64/pci.h index f30d4e0786d81..60d3832dd9344 100644 --- a/include/asm-ppc64/pci.h +++ b/include/asm-ppc64/pci.h @@ -21,6 +21,12 @@ extern int pcibios_scan_all_fns(struct pci_bus *bus, int devfn); +#ifdef CONFIG_PPC_ISERIES +#define pcibios_scan_all_fns(a, b) 0 +#else +extern int pcibios_scan_all_fns(struct pci_bus *bus, int devfn); +#endif + static inline void pcibios_set_master(struct pci_dev *dev) { /* No special bus mastering setup handling */ -- 2.53.0