summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci-common.c
diff options
context:
space:
mode:
authorAndrew Donnellan2015-09-10 08:28:34 +0200
committerMichael Ellerman2015-10-15 11:31:57 +0200
commit6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1 (patch)
tree2b0c28d7cf641c425ff0c81512341c56fc5f8dda /arch/powerpc/kernel/pci-common.c
parentpowerpc: Individual System V IPC system calls (diff)
downloadkernel-qcow2-linux-6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1.tar.gz
kernel-qcow2-linux-6b8b252f40d39e5815be17aaf05f2cb5eaaa41a1.tar.xz
kernel-qcow2-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>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-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