diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 22:18:57 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 22:18:57 -0500 |
commit | 14be538c566f6fd6f8c8abd1687aa5d36a600703 (patch) | |
tree | bde269e30f53af81f1fbb27ab992ff9bf31a4a3e /arch/mips | |
parent | 2909060699226f70d731d9c242489418f7da4972 (diff) |
mips/PCI: removed unused pci_probe configurability
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/pci/pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 2a1104512036..19f6d194a568 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -24,10 +24,6 @@ | |||
24 | * assignments. | 24 | * assignments. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #define PCI_ASSIGN_ALL_BUSSES 1 | ||
28 | |||
29 | unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES; | ||
30 | |||
31 | /* | 27 | /* |
32 | * The PCI controller list. | 28 | * The PCI controller list. |
33 | */ | 29 | */ |
@@ -238,7 +234,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask) | |||
238 | 234 | ||
239 | unsigned int pcibios_assign_all_busses(void) | 235 | unsigned int pcibios_assign_all_busses(void) |
240 | { | 236 | { |
241 | return (pci_probe & PCI_ASSIGN_ALL_BUSSES) ? 1 : 0; | 237 | return 1; |
242 | } | 238 | } |
243 | 239 | ||
244 | int pcibios_enable_device(struct pci_dev *dev, int mask) | 240 | int pcibios_enable_device(struct pci_dev *dev, int mask) |