mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
fe0d42203c
commit
0e47ff1ce6
20 changed files with 49 additions and 49 deletions
|
@ -291,7 +291,7 @@ void __init find_and_init_phbs(void)
|
|||
prop = of_get_property(of_chosen,
|
||||
"linux,pci-assign-all-buses", NULL);
|
||||
if (prop && *prop)
|
||||
ppc_pci_flags |= PPC_PCI_REASSIGN_ALL_BUS;
|
||||
pci_add_flags(PCI_REASSIGN_ALL_BUS);
|
||||
#endif /* CONFIG_PPC32 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue