diff mbox

powerpc/pci: export pcibios_free_controller()

Message ID 1441866514-13835-1-git-send-email-andrew.donnellan@au1.ibm.com (mailing list archive)
State Accepted
Headers show

Commit Message

Andrew Donnellan Sept. 10, 2015, 6:28 a.m. UTC
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>
---
 arch/powerpc/kernel/pci-common.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Ellerman Oct. 15, 2015, 11:10 a.m. UTC | #1
On Thu, 2015-10-09 at 06:28:34 UTC, Andrew Donnellan wrote:
> 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/6b8b252f40d39e5815be17aa

cheers
diff mbox

Patch

diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index a1d0632..bfdcca3 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