On Wed, Nov 29, 2017 at 07:46:26PM +1100, David Gibson wrote: > A fair proportion of the users of pci_bus_num() want to get the bus > number on a specific device, so first have to look up the bus from the > device then call it. This adds a helper to do that (since we're going > to make looking up the bus slightly more verbose). > > Signed-off-by: David Gibson <da...@gibson.dropbear.id.au>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu