Messages in this thread Patch in this message | | | Date | Wed, 14 Sep 2005 19:19:30 +0400 | From | Alexey Dobriyan <> | Subject | [PATCH] arch/i386/pci/acpi.c: use for_each_pci_dev |
| |
From: Hanna Linder <hannal@us.ibm.com>
Compile and boot tested.
Signed-off-by: Hanna Linder <hannal@us.ibm.com> Signed-off-by: Maximilian Attems <janitor@sternwelten.at> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> ---
arch/i386/pci/acpi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
--- 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) acpi_pci_irq_enable(dev); } else printk(KERN_INFO "PCI: If a device doesn't work, try \"pci=routeirq\". If it helps, post a report\n"); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |