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

powerpc/pci: Export symbols for CXL

Export pcibios_claim_one_bus, pcibios_scan_phb and pcibios_alloc_controller.

These will be used by the CXL driver.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Daniel Axtens and committed by
Michael Ellerman
5b64d2cc 85a97da9

+3
+3
arch/powerpc/kernel/pci-common.c
··· 89 89 #endif 90 90 return phb; 91 91 } 92 + EXPORT_SYMBOL_GPL(pcibios_alloc_controller); 92 93 93 94 void pcibios_free_controller(struct pci_controller *phb) 94 95 { ··· 1448 1447 list_for_each_entry(child_bus, &bus->children, node) 1449 1448 pcibios_claim_one_bus(child_bus); 1450 1449 } 1450 + EXPORT_SYMBOL_GPL(pcibios_claim_one_bus); 1451 1451 1452 1452 1453 1453 /* pcibios_finish_adding_to_bus ··· 1682 1680 pcie_bus_configure_settings(child); 1683 1681 } 1684 1682 } 1683 + EXPORT_SYMBOL_GPL(pcibios_scan_phb); 1685 1684 1686 1685 static void fixup_hide_host_resource_fsl(struct pci_dev *dev) 1687 1686 {