Commit 8492af96 authored by Hanna V. Linder's avatar Hanna V. Linder Committed by Tony Luck

[IA64] pci.c: pci_find_device is going away

Ok. Here is the reroll of the original patch to us for_each_pci_dev:
Signed-off-by: default avatarHanna Linder <hannal@us.ibm.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 4783ee04
......@@ -155,7 +155,7 @@ extern acpi_status acpi_map_iosapic (acpi_handle, u32, void*, void**);
printk(KERN_INFO "** was specified. If this was required to make a driver work,\n");
printk(KERN_INFO "** please email the output of \"lspci\" to bjorn.helgaas@hp.com\n");
printk(KERN_INFO "** so I can fix the driver.\n");
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
for_each_pci_dev(dev)
acpi_pci_irq_enable(dev);
} else {
printk(KERN_INFO "** PCI interrupts are no longer routed automatically. If this\n");
......
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