]> 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)
commit885934ff4089b6e9bb0c101db0f7288a14a07402
tree79d761c5be8591c0c680f8383a89a886bcbfadbc
parent8761f4cb8c57ec69fadaf9a2eb924576e6ea6218
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