public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.9-rc1-mm5 acpi.c] Changed pci_find_device to pci_get_device
@ 2004-09-16 21:54 Hanna Linder
  2004-09-22 20:38 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Hanna Linder @ 2004-09-16 21:54 UTC (permalink / raw)
  To: len.brown; +Cc: linux-kernel, greg, hannal


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).

Thanks.

Hanna Linder
IBM Linux Technology Center

Signed-off-by: Hanna Linder <hannal@us.ibm.com>
----

diff -Nrup linux-2.6.9-rc1-mm5/arch/i386/pci/acpi.c linux-2.6.9-rc1-mm5patch/arch/i386/pci/acpi.c
--- linux-2.6.9-rc1-mm5/arch/i386/pci/acpi.c	2004-09-14 16:25:34.000000000 -0700
+++ linux-2.6.9-rc1-mm5patch/arch/i386/pci/acpi.c	2004-09-15 16:17:06.000000000 -0700
@@ -41,7 +41,7 @@ static int __init pci_acpi_init(void)
 		printk(KERN_INFO "** was specified.  If this was required to make a driver work,\n");
 		printk(KERN_INFO "** please email the output of \"lspci\" to bjorn.helgaas@hp.com\n");
 		printk(KERN_INFO "** so I can fix the driver.\n");
-		while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
+		while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
 			acpi_pci_irq_enable(dev);
 	} else {
 		printk(KERN_INFO "** PCI interrupts are no longer routed automatically.  If this\n");


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-22 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-16 21:54 [PATCH 2.6.9-rc1-mm5 acpi.c] Changed pci_find_device to pci_get_device Hanna Linder
2004-09-22 20:38 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox