Messages in this thread Patch in this message | | | Subject | Re: [PATCH] PCI fixes for 2.6.9 | Date | Tue, 19 Oct 2004 15:42:17 -0700 | From | Greg KH <> |
| |
ChangeSet 1.1997.37.40, 2004/10/06 13:04:14-07:00, hannal@us.ibm.com
[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 <hannal@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
arch/i386/pci/acpi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/arch/i386/pci/acpi.c b/arch/i386/pci/acpi.c --- a/arch/i386/pci/acpi.c 2004-10-19 15:24:05 -07:00 +++ b/arch/i386/pci/acpi.c 2004-10-19 15:24:05 -07:00 @@ -35,7 +35,7 @@ * 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 - 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/
| |