powerpc/PCI: replace pci_probe_only with pci_flags
We already use pci_flags, so this just sets pci_flags directly and removes the intermediate step of figuring out pci_probe_only, then using it to set pci_flags. The PCI core provides a pci_flags definition (currently __weak), so drop the powerpc definitions in favor of that. CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: linuxppc-dev@lists.ozlabs.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
@@ -231,7 +231,7 @@ void __init pas_pci_init(void)
|
||||
pci_devs_phb_init();
|
||||
|
||||
/* Use the common resource allocation mechanism */
|
||||
pci_probe_only = 1;
|
||||
pci_add_flags(PCI_PROBE_ONLY);
|
||||
}
|
||||
|
||||
void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset)
|
||||
|
Reference in New Issue
Block a user