ChangeSet 1.1279, 2003/06/04 17:39:09-07:00, greg@kroah.com [PATCH] PCI: remove usage of pci_for_each_dev() in arch/ia64/sn/io/sn2/pci_bus_cvlink.c arch/ia64/sn/io/sn2/pci_bus_cvlink.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/arch/ia64/sn/io/sn2/pci_bus_cvlink.c b/arch/ia64/sn/io/sn2/pci_bus_cvlink.c --- a/arch/ia64/sn/io/sn2/pci_bus_cvlink.c Wed Jun 4 18:08:10 2003 +++ b/arch/ia64/sn/io/sn2/pci_bus_cvlink.c Wed Jun 4 18:08:10 2003 @@ -325,7 +325,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;