ChangeSet 1.1277, 2003/06/04 17:38:49-07:00, greg@kroah.com [PATCH] PCI: remove usage of pci_for_each_dev() in arch/ia64/sn/io/pci_bus_cvlink.c arch/ia64/sn/io/pci_bus_cvlink.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/arch/ia64/sn/io/pci_bus_cvlink.c b/arch/ia64/sn/io/pci_bus_cvlink.c --- a/arch/ia64/sn/io/pci_bus_cvlink.c Wed Jun 4 18:08:20 2003 +++ b/arch/ia64/sn/io/pci_bus_cvlink.c Wed Jun 4 18:08:20 2003 @@ -375,7 +375,7 @@ /* * Initialize the device vertex in the pci_dev struct. */ - pci_for_each_dev(device_dev) { + while ((device_dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, device_dev)) != NULL) { unsigned int irq; int idx; u16 cmd;