Commit f9bdfa0e authored by Linas Vepstas's avatar Linas Vepstas Committed by Linus Torvalds

[PATCH] PowerPC/PCI Hotplug build break

Build break: Building PCI hotplug on PowerPC results in
a build break, due to failure to export symbols.

Reported today by Dave Jones <davej@redhat.com>:
drivers/pci/hotplug/rpaphp.ko needs unknown symbol pcibios_add_pci_devices

This patch fixes the break in the arch/powerpc tree.
Next patch fixes same problem in drivers/pci tree
Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3c3b809e
...@@ -58,6 +58,7 @@ pcibios_find_pci_bus(struct device_node *dn) ...@@ -58,6 +58,7 @@ pcibios_find_pci_bus(struct device_node *dn)
return find_bus_among_children(pdn->phb->bus, dn); return find_bus_among_children(pdn->phb->bus, dn);
} }
EXPORT_SYMBOL_GPL(pcibios_find_pci_bus);
/** /**
* pcibios_remove_pci_devices - remove all devices under this bus * pcibios_remove_pci_devices - remove all devices under this bus
...@@ -106,6 +107,7 @@ pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus) ...@@ -106,6 +107,7 @@ pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus)
} }
} }
} }
EXPORT_SYMBOL_GPL(pcibios_fixup_new_pci_devices);
static int static int
pcibios_pci_config_bridge(struct pci_dev *dev) pcibios_pci_config_bridge(struct pci_dev *dev)
...@@ -172,3 +174,4 @@ pcibios_add_pci_devices(struct pci_bus * bus) ...@@ -172,3 +174,4 @@ pcibios_add_pci_devices(struct pci_bus * bus)
pcibios_pci_config_bridge(dev); pcibios_pci_config_bridge(dev);
} }
} }
EXPORT_SYMBOL_GPL(pcibios_add_pci_devices);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment