arch/i386/pci/acpi.c: use for_each_pci_dev
diff mbox series

Message ID
State New, archived
Headers show
  • arch/i386/pci/acpi.c: use for_each_pci_dev
Related show

Commit Message

Alexey Dobriyan Sept. 14, 2005, 3:19 p.m. UTC
From: Hanna Linder <>

Compile and boot tested.

Signed-off-by: Hanna Linder <>
Signed-off-by: Maximilian Attems <>
Signed-off-by: Domen Puncer <>
Signed-off-by: Alexey Dobriyan <>

 arch/i386/pci/acpi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

diff mbox series

--- a/arch/i386/pci/acpi.c
+++ b/arch/i386/pci/acpi.c
@@ -54,7 +54,7 @@  static int __init pci_acpi_init(void)
 		 * don't use pci_enable_device().
 		printk(KERN_INFO "PCI: Routing PCI interrupts for all devices because \"pci=routeirq\" specified\n");
-		while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
+		for_each_pci_dev(dev)
 	} else
 		printk(KERN_INFO "PCI: If a device doesn't work, try \"pci=routeirq\".  If it helps, post a report\n");