From 4a668f9acc124538cf39a341775467b26a633c34 Mon Sep 17 00:00:00 2001 From: "Hanna V. Linder" Date: Tue, 5 Oct 2004 23:04:14 -0700 Subject: [PATCH] [PATCH] PCI: Changed pci_find_device to pci_get_device for acpi.c 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 Signed-off-by: Greg Kroah-Hartman --- arch/i386/pci/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/i386/pci/acpi.c b/arch/i386/pci/acpi.c index 5f3300a0c3f5e..86ce0165528af 100644 --- a/arch/i386/pci/acpi.c +++ b/arch/i386/pci/acpi.c @@ -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 -- 2.53.0