From: Andrew Donnellan Date: Thu, 10 Sep 2015 06:28:34 +0000 (+1000) Subject: powerpc/pci: export pcibios_free_controller() X-Git-Tag: KARO-TX6UL-2015-11-03~123^2~26 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1;p=karo-tx-linux.git powerpc/pci: export pcibios_free_controller() Export pcibios_free_controller(), so it can be used by the cxl module to free virtual PHBs. Signed-off-by: Andrew Donnellan Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 7587b2ae5f77..0f7a60f1e9f6 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -100,6 +100,7 @@ void pcibios_free_controller(struct pci_controller *phb) if (phb->is_dynamic) kfree(phb); } +EXPORT_SYMBOL_GPL(pcibios_free_controller); /* * The function is used to return the minimal alignment