Commit 79e77f27 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Jesse Barnes

ia64/PCI: use pci_create_bus() instead of pci_scan_bus_parented()

This doesn't change any functionality, but it makes a subsequent patch
slightly simpler.

CC: Tony Luck <tony.luck@intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent e2a7965e
...@@ -387,8 +387,11 @@ pci_acpi_scan_root(struct acpi_pci_root *root) ...@@ -387,8 +387,11 @@ pci_acpi_scan_root(struct acpi_pci_root *root)
* should handle the case here, but it appears that IA64 hasn't * should handle the case here, but it appears that IA64 hasn't
* such quirk. So we just ignore the case now. * such quirk. So we just ignore the case now.
*/ */
pbus = pci_scan_bus_parented(NULL, bus, &pci_root_ops, controller); pbus = pci_create_bus(NULL, bus, &pci_root_ops, controller);
if (!pbus)
return NULL;
pbus->subordinate = pci_scan_child_bus(pbus);
return pbus; return pbus;
out3: out3:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment