From: Andrew Donnellan Date: Thu, 10 Sep 2015 06:28:34 +0000 (+1000) Subject: powerpc/pci: export pcibios_free_controller() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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