Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew Donnellan and committed by
Michael Ellerman
6b8b252f a3423615

+1
+1
arch/powerpc/kernel/pci-common.c
··· 100 100 if (phb->is_dynamic) 101 101 kfree(phb); 102 102 } 103 + EXPORT_SYMBOL_GPL(pcibios_free_controller); 103 104 104 105 /* 105 106 * The function is used to return the minimal alignment