powerpc: rename ppc_pci_*_flags to pci_*_flags
This renames pci flags functions and enums in preparation for creating generic version in asm-generic/pci-bridge.h. The following search and replace is done: s/ppc_pci_/pci_/ s/PPC_PCI_/PCI_/ Direct accesses to ppc_pci_flag variable are replaced with helper functions. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org>
This commit is contained in:
@@ -343,7 +343,7 @@ int __init fsl_add_bridge(struct device_node *dev, int is_primary)
|
||||
printk(KERN_WARNING "Can't get bus-range for %s, assume"
|
||||
" bus 0\n", dev->full_name);
|
||||
|
||||
ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS);
|
||||
pci_add_flags(PCI_REASSIGN_ALL_BUS);
|
||||
hose = pcibios_alloc_controller(dev);
|
||||
if (!hose)
|
||||
return -ENOMEM;
|
||||
@@ -679,7 +679,7 @@ int __init mpc83xx_add_bridge(struct device_node *dev)
|
||||
" bus 0\n", dev->full_name);
|
||||
}
|
||||
|
||||
ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS);
|
||||
pci_add_flags(PCI_REASSIGN_ALL_BUS);
|
||||
hose = pcibios_alloc_controller(dev);
|
||||
if (!hose)
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user