]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Add pci_find_controller_for_domain()
authorOliver O'Halloran <oohall@gmail.com>
Fri, 15 Feb 2019 00:48:15 +0000 (11:48 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:14 +0000 (00:10 +1100)
commitf42cdb58c21f8be42907c94a3bdac840aff02135
tree79d761c5be8591c0c680f8383a89a886bcbfadbc
parent085f6916d0d867af3efce78d4bb1c37646acde68
powerpc/pci: Add pci_find_controller_for_domain()

Add a helper to find the pci_controller structure based on the domain
number / phb id.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci-common.c