Commit 6b8b252f authored by Andrew Donnellan's avatar Andrew Donnellan Committed by Michael Ellerman

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: default avatarAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent a3423615
...@@ -100,6 +100,7 @@ void pcibios_free_controller(struct pci_controller *phb) ...@@ -100,6 +100,7 @@ void pcibios_free_controller(struct pci_controller *phb)
if (phb->is_dynamic) if (phb->is_dynamic)
kfree(phb); kfree(phb);
} }
EXPORT_SYMBOL_GPL(pcibios_free_controller);
/* /*
* The function is used to return the minimal alignment * The function is used to return the minimal alignment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment