[PATCH v7 5/6] pci: Export find_pci_host_bridge() function.
One Thousand Gnomes
gnomes at lxorguk.ukuu.org.uk
Mon Apr 7 07:38:50 PDT 2014
> > 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.
More information about the linux-arm-kernel