summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-sb1250.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-02-24 04:18:57 +0100
committerBjorn Helgaas <bhelgaas@google.com>2012-02-24 04:18:57 +0100
commit2909060699226f70d731d9c242489418f7da4972 (patch)
tree8d1cd71073d18ac72e47523fc36c69cacf29d13d /arch/mips/pci/pci-sb1250.c
parentmicroblaze/PCI: remove unused pci_flags (diff)
downloadlinux-2909060699226f70d731d9c242489418f7da4972.tar.xz
linux-2909060699226f70d731d9c242489418f7da4972.zip
mips/PCI: replace pci_probe_only with pci_flags
Some architectures (alpha, mips, powerpc) have an arch-specific "pci_probe_only" flag. Others use PCI_PROBE_ONLY in pci_flags for the same purpose. This moves mips to the pci_flags approach so generic code can use the same test across all architectures. CC: Ralf Baechle <ralf@linux-mips.org> CC: linux-mips@linux-mips.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/mips/pci/pci-sb1250.c')
-rw-r--r--arch/mips/pci/pci-sb1250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-sb1250.c b/arch/mips/pci/pci-sb1250.c
index 1711e8e101bc..dd97f3a83baa 100644
--- a/arch/mips/pci/pci-sb1250.c
+++ b/arch/mips/pci/pci-sb1250.c
@@ -213,7 +213,7 @@ static int __init sb1250_pcibios_init(void)
uint64_t reg;
/* CFE will assign PCI resources */
- pci_probe_only = 1;
+ pci_set_flags(PCI_PROBE_ONLY);
/* Avoid ISA compat ranges. */
PCIBIOS_MIN_IO = 0x00008000UL;