]> git.baikalelectronics.ru Git - kernel.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>
Fri, 6 Jan 2012 20:10:54 +0000 (12:10 -0800)
commit22f47c060786ea1b1641ba84ce5cde929bcf6cf4
tree001fabe45ba74c019c99dca798260792a4400841
parent6f30e1a3529a3dfdedc140f260b4d46f9ffec8ab
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