mips/PCI: removed unused pci_probe configurability
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Feb 2012 03:18:57 +0000 (20:18 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Feb 2012 03:18:57 +0000 (20:18 -0700)
We never assign anything other than PCI_ASSIGN_ALL_BUSSES to pci_probe,
so just remove the indirection.  If configurability is required in the
future, please use the pci_flags/PCI_REASSIGN_ALL_BUS functionality
as is done for powerpc.

CC: Ralf Baechle <ralf@linux-mips.org>
CC: linux-mips@linux-mips.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/mips/pci/pci.c

index 2a11045120362842075f2b0ba6cfefef149a4d81..19f6d194a5683ce8321508a5ab8fe290ec9fd7fb 100644 (file)
  * assignments.
  */
 
-#define PCI_ASSIGN_ALL_BUSSES  1
-
-unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES;
-
 /*
  * The PCI controller list.
  */
@@ -238,7 +234,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask)
 
 unsigned int pcibios_assign_all_busses(void)
 {
-       return (pci_probe & PCI_ASSIGN_ALL_BUSSES) ? 1 : 0;
+       return 1;
 }
 
 int pcibios_enable_device(struct pci_dev *dev, int mask)
This page took 0.026682 seconds and 5 git commands to generate.