]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PCI: Changed pci_find_device to pci_get_device for acpi.c
authorHanna V. Linder <hannal@us.ibm.com>
Wed, 6 Oct 2004 06:04:14 +0000 (23:04 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Oct 2004 06:04:14 +0000 (23:04 -0700)
Another simple patch to complete the /i386 conversion to pci_get_device.
I was able to compile and boot this patch to verify it didn't break anything
(on my T22).

Signed-off-by: Hanna Linder <hannal@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
arch/i386/pci/acpi.c

index 5f3300a0c3f5e53ce08ff4e8585fc89b17efcfaa..86ce0165528afd8e1c6df119b7b15aaff6c615a9 100644 (file)
@@ -35,7 +35,7 @@ static int __init pci_acpi_init(void)
         * also do it here in case there are still broken drivers that
         * don't use pci_enable_device().
         */
-       while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
+       while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
                acpi_pci_irq_enable(dev);
 
 #ifdef CONFIG_X86_IO_APIC