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>
This commit is contained in:
parent
a34236155a
commit
6b8b252f40
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue