aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHanna V. Linder <hannal@us.ibm.com>2005-01-11 00:13:38 -0800
committerTony Luck <tony.luck@intel.com>2005-01-11 00:13:38 -0800
commit8492af96b15297e9fdb639b7a0d877cea53c99ab (patch)
tree1ec7ec12e88dbfedceb0201c5299b010b44dfe65 /arch
parent4783ee041016155a71f61f97699c8ebc5cdb6236 (diff)
downloadhistory-8492af96b15297e9fdb639b7a0d877cea53c99ab.tar.gz
[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: Hanna Linder <hannal@us.ibm.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c
index edc8915bb4159b..260458f140adcb 100644
--- a/arch/ia64/pci/pci.c
+++ b/arch/ia64/pci/pci.c
@@ -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");