summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2015-09-10 16:28:34 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-10-15 20:31:57 +1100
commit6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1 (patch)
tree2b0c28d7cf641c425ff0c81512341c56fc5f8dda
parenta34236155afb1cc41945e58388ac988431bcb0b8 (diff)
downloadblackbird-obmc-linux-6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1.tar.gz
blackbird-obmc-linux-6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1.zip
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 <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/kernel/pci-common.c1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud