]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Hide pci_create_OF_bus_map() for non-chrp code
authorPali Rohár <pali@kernel.org>
Wed, 6 Jul 2022 10:43:06 +0000 (12:43 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2022 11:36:03 +0000 (21:36 +1000)
commit489bdf5966fd5b41ad9fec864f48ff9d6fe5d7c7
tree3c3e75bba5a119c48c17372095a252d8165f2fe4
parenteaaa56438b2e3ac477c54393f9c8286d47d35399
powerpc/pci: Hide pci_create_OF_bus_map() for non-chrp code

Function pci_create_OF_bus_map() is used only in chrp code.
So hide it from all other platforms.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220706104308.5390-4-pali@kernel.org
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci_32.c