提交 069967f4 编写于 作者: B Bjorn Helgaas 提交者: Bjorn Helgaas

microblaze/PCI: Remove pcibios_finish_adding_to_bus() dead code

pcibios_finish_adding_to_bus() is defined but never used.  Remove it.
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 8a7d1b16
...@@ -70,8 +70,6 @@ extern int pci_mmap_legacy_page_range(struct pci_bus *bus, ...@@ -70,8 +70,6 @@ extern int pci_mmap_legacy_page_range(struct pci_bus *bus,
extern void pcibios_claim_one_bus(struct pci_bus *b); extern void pcibios_claim_one_bus(struct pci_bus *b);
extern void pcibios_finish_adding_to_bus(struct pci_bus *bus);
extern void pcibios_resource_survey(void); extern void pcibios_resource_survey(void);
struct file; struct file;
......
...@@ -952,30 +952,6 @@ void pcibios_claim_one_bus(struct pci_bus *bus) ...@@ -952,30 +952,6 @@ void pcibios_claim_one_bus(struct pci_bus *bus)
} }
EXPORT_SYMBOL_GPL(pcibios_claim_one_bus); EXPORT_SYMBOL_GPL(pcibios_claim_one_bus);
/* pcibios_finish_adding_to_bus
*
* This is to be called by the hotplug code after devices have been
* added to a bus, this include calling it for a PHB that is just
* being added
*/
void pcibios_finish_adding_to_bus(struct pci_bus *bus)
{
pr_debug("PCI: Finishing adding to hotplug bus %04x:%02x\n",
pci_domain_nr(bus), bus->number);
/* Allocate bus and devices resources */
pcibios_allocate_bus_resources(bus);
pcibios_claim_one_bus(bus);
/* Add new devices to global lists. Register in proc, sysfs. */
pci_bus_add_devices(bus);
/* Fixup EEH */
/* eeh_add_device_tree_late(bus); */
}
EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus);
static void pcibios_setup_phb_resources(struct pci_controller *hose, static void pcibios_setup_phb_resources(struct pci_controller *hose,
struct list_head *resources) struct list_head *resources)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册