diff options
Diffstat (limited to 'include/asm-powerpc/pci.h')
-rw-r--r-- | include/asm-powerpc/pci.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-powerpc/pci.h b/include/asm-powerpc/pci.h index 7b11765c6865..47cc117a1422 100644 --- a/include/asm-powerpc/pci.h +++ b/include/asm-powerpc/pci.h | |||
@@ -38,9 +38,12 @@ struct pci_dev; | |||
38 | * Set this to 1 if you want the kernel to re-assign all PCI | 38 | * Set this to 1 if you want the kernel to re-assign all PCI |
39 | * bus numbers | 39 | * bus numbers |
40 | */ | 40 | */ |
41 | extern int pci_assign_all_buses; | 41 | #ifdef CONFIG_PPC64 |
42 | #define pcibios_assign_all_busses() (pci_assign_all_buses) | 42 | #define pcibios_assign_all_busses() 0 |
43 | 43 | #else | |
44 | #define pcibios_assign_all_busses() (ppc_pci_flags & \ | ||
45 | PPC_PCI_REASSIGN_ALL_BUS) | ||
46 | #endif | ||
44 | #define pcibios_scan_all_fns(a, b) 0 | 47 | #define pcibios_scan_all_fns(a, b) 0 |
45 | 48 | ||
46 | static inline void pcibios_set_master(struct pci_dev *dev) | 49 | static inline void pcibios_set_master(struct pci_dev *dev) |