diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-21 15:34:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 15:50:21 -0500 |
commit | d5174d2d2a775998972c04f9875daf04fb156180 (patch) | |
tree | df4ef77d4c0cb754e2c614805fe7b0f7fdc51bbc /arch/microblaze/pci | |
parent | 463a1f8b3ceebe990ca9a8c7cc2e51ee42cb48eb (diff) |
microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs
Remove conditional code based on CONFIG_HOTPLUG being false. It's
always on now in preparation of it going away as an option.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/microblaze/pci')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index 4dbb5055d04b..a1c5b996d66d 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -1346,8 +1346,6 @@ void __init pcibios_resource_survey(void) | |||
1346 | pci_assign_unassigned_resources(); | 1346 | pci_assign_unassigned_resources(); |
1347 | } | 1347 | } |
1348 | 1348 | ||
1349 | #ifdef CONFIG_HOTPLUG | ||
1350 | |||
1351 | /* This is used by the PCI hotplug driver to allocate resource | 1349 | /* This is used by the PCI hotplug driver to allocate resource |
1352 | * of newly plugged busses. We can try to consolidate with the | 1350 | * of newly plugged busses. We can try to consolidate with the |
1353 | * rest of the code later, for now, keep it as-is as our main | 1351 | * rest of the code later, for now, keep it as-is as our main |
@@ -1407,8 +1405,6 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus) | |||
1407 | } | 1405 | } |
1408 | EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus); | 1406 | EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus); |
1409 | 1407 | ||
1410 | #endif /* CONFIG_HOTPLUG */ | ||
1411 | |||
1412 | int pcibios_enable_device(struct pci_dev *dev, int mask) | 1408 | int pcibios_enable_device(struct pci_dev *dev, int mask) |
1413 | { | 1409 | { |
1414 | return pci_enable_resources(dev, mask); | 1410 | return pci_enable_resources(dev, mask); |