On Tue, Jan 17, 2012 at 4:35 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote: > This adds a struct pci_host_bridge so the PCI core can keep track of > generic attributes like the subordinate bus number range and the > resources available to that PCI device tree. > > Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > --- > drivers/pci/probe.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ > include/linux/pci.h | 20 +++++++++++++++ > 2 files changed, 89 insertions(+), 0 deletions(-) > > +struct pci_host_bridge *pci_scan_host_bridge(struct device *parent, > + int domain, struct resource *subordinate, > + struct list_head *resources, struct pci_ops *ops, > + void *sysdata) > +{ > + struct pci_host_bridge *bridge; > + struct pci_bus *bus; > + > + bridge = pci_create_host_bridge(parent, domain, subordinate, resources, > + ops, sysdata); > + if (!bridge) > + return NULL; > + > + bus = bridge->bus; > + bus->subordinate = pci_scan_child_bus(bus); > + pci_bus_add_devices(bus); > + return bridge; > +} looks like there is no user for pci_scan_host_bridge() in this series. Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html