Re: [PATCH v2 5/7] powerpc/pci: Add pci_find_controller_for_domain()

2019-02-14 Thread Sam Bobroff
On Fri, Feb 15, 2019 at 11:48:15AM +1100, Oliver O'Halloran wrote: > Add a helper to find the pci_controller structure based on the domain > number / phb id. > > Signed-off-by: Oliver O'Halloran Reviewed-by: Sam Bobroff > --- > v2: Renamed pci_find_hose_for_domain() to > pci_find_controlle

[PATCH v2 5/7] powerpc/pci: Add pci_find_controller_for_domain()

2019-02-14 Thread Oliver O'Halloran
Add a helper to find the pci_controller structure based on the domain number / phb id. Signed-off-by: Oliver O'Halloran --- v2: Renamed pci_find_hose_for_domain() to pci_find_controller_for_domain() --- arch/powerpc/include/asm/pci-bridge.h | 2 ++ arch/powerpc/kernel/pci-common.c | 11