diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-07-12 10:25:51 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2011-07-12 10:28:04 -0400 |
commit | 0e47ff1ce65bbd0b12a9421a2756b26987ea5083 (patch) | |
tree | aa15e9928332fbba8caf93a17d7aaecce4a10209 /arch/powerpc/sysdev/fsl_pci.c | |
parent | fe0d42203cb5616eeff68b14576a0f7e2dd56625 (diff) |
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>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 68ca9290df94..31f99ec7382e 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -343,7 +343,7 @@ int __init fsl_add_bridge(struct device_node *dev, int is_primary) | |||
343 | printk(KERN_WARNING "Can't get bus-range for %s, assume" | 343 | printk(KERN_WARNING "Can't get bus-range for %s, assume" |
344 | " bus 0\n", dev->full_name); | 344 | " bus 0\n", dev->full_name); |
345 | 345 | ||
346 | ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS); | 346 | pci_add_flags(PCI_REASSIGN_ALL_BUS); |
347 | hose = pcibios_alloc_controller(dev); | 347 | hose = pcibios_alloc_controller(dev); |
348 | if (!hose) | 348 | if (!hose) |
349 | return -ENOMEM; | 349 | return -ENOMEM; |
@@ -679,7 +679,7 @@ int __init mpc83xx_add_bridge(struct device_node *dev) | |||
679 | " bus 0\n", dev->full_name); | 679 | " bus 0\n", dev->full_name); |
680 | } | 680 | } |
681 | 681 | ||
682 | ppc_pci_add_flags(PPC_PCI_REASSIGN_ALL_BUS); | 682 | pci_add_flags(PCI_REASSIGN_ALL_BUS); |
683 | hose = pcibios_alloc_controller(dev); | 683 | hose = pcibios_alloc_controller(dev); |
684 | if (!hose) | 684 | if (!hose) |
685 | return -ENOMEM; | 685 | return -ENOMEM; |