PCI/ACPI: Add _PRT interrupt routing info before enumerating devices
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Oct 2012 06:24:50 +0000 (15:24 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 5 Nov 2012 23:10:16 +0000 (16:10 -0700)
commitd4761ba2d6adbe24c792ec6223a5884ae4e82430
tree8a455923e3d5073b12889ef7fd27fa4a26c06a2e
parent79c4412298771b8996302806abc8a11e760da9b3
PCI/ACPI: Add _PRT interrupt routing info before enumerating devices

We used to add the _PRT after enumerating devices behind a new host
bridge.  This moves the _PRT addition *before* the enumeration, since
it no longer depends on the struct pci_bus existing.  This is one
step towards consolidating the .add/.start methods.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Taku Izumi <izumim.taku@jp.fujitsu.com>
drivers/acpi/pci_root.c