Commit fb37fb96 authored by Hanna Linder's avatar Hanna Linder Committed by Greg Kroah-Hartman

[PATCH] PCI: arch/i386/pci/acpi.c: use for_each_pci_dev

Signed-off-by: default avatarHanna Linder <hannal@us.ibm.com>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3c94792f
...@@ -53,7 +53,7 @@ static int __init pci_acpi_init(void) ...@@ -53,7 +53,7 @@ static int __init pci_acpi_init(void)
* don't use pci_enable_device(). * don't use pci_enable_device().
*/ */
printk(KERN_INFO "PCI: Routing PCI interrupts for all devices because \"pci=routeirq\" specified\n"); 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)
acpi_pci_irq_enable(dev); acpi_pci_irq_enable(dev);
} else } else
printk(KERN_INFO "PCI: If a device doesn't work, try \"pci=routeirq\". If it helps, post a report\n"); printk(KERN_INFO "PCI: If a device doesn't work, try \"pci=routeirq\". If it helps, post a report\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