[PATCH v7 5/6] pci: Export find_pci_host_bridge() function.

One Thousand Gnomes
2014-04-07T14:38:50Z

> > If we *do* export it, I'd like it to have a more conventional name, e.g.,
> > something starting with "pci_".
>
> Understood. pci_find_host_bridge() ?

pci_get_host_bridge() and take a reference IMHO ? If your primary bus is
not PCI then your PCI "host" bridge could be hot swappable so the API at
least ought to get that right.

Alan