]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: convert pci_scan_bus_parented() to use pci_create_root_bus()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:26:00 +0000 (16:26 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 Dec 2011 18:42:13 +0000 (10:42 -0800)
commit0c622f5285e9b345597a676f31aca36ecbb1c1d2
tree5d4935d7dfbffa5f9ac55c4ef042c6a0ce25e42e
parent8794c720b55f8a49806e4dcb8dea693318d1a7bb
PCI: convert pci_scan_bus_parented() to use pci_create_root_bus()

This converts pci_scan_bus_parented() to use pci_create_root_bus()
instead of pci_create_bus().  The new bus still has the default (incorrect)
resources, so this patch doesn't help fix that problem, but it does remove
one more use of pci_create_bus().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c