linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6.9-rc1-mm5 cyrix.c] Fix one missed pci_find_device
@ 2004-09-14 23:41 Hanna Linder
  2004-09-15 22:14 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Hanna Linder @ 2004-09-14 23:41 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel, hannal


Just noticed this in my update to the latest mm kernel... 

Hanna 
------

diff -Nrup linux-2.6.9-rc1-mm5/arch/i386/kernel/cpu/cyrix.c linux-2.6.9-rc1-mm5patch/arch/i386/kernel/cpu/cyrix.c
--- linux-2.6.9-rc1-mm5/arch/i386/kernel/cpu/cyrix.c	2004-09-14 16:25:33.000000000 -0700
+++ linux-2.6.9-rc1-mm5patch/arch/i386/kernel/cpu/cyrix.c	2004-09-14 16:35:14.036275480 -0700
@@ -280,7 +280,7 @@ static void __init init_cyrix(struct cpu
 			pci_dev_put(dev);
 			pit_latch_buggy = 1;
 		}
-		dev =  pci_find_device(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520, NULL);
+		dev =  pci_get_device(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520, NULL);
 		if (dev) {
 			pci_dev_put(dev);
 			pit_latch_buggy = 1;


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

* Re: [2.6.9-rc1-mm5 cyrix.c] Fix one missed pci_find_device
  2004-09-14 23:41 [2.6.9-rc1-mm5 cyrix.c] Fix one missed pci_find_device Hanna Linder
@ 2004-09-15 22:14 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-09-15 22:14 UTC (permalink / raw)
  To: Hanna Linder; +Cc: linux-kernel

On Tue, Sep 14, 2004 at 04:41:19PM -0700, Hanna Linder wrote:
> 
> Just noticed this in my update to the latest mm kernel... 

Applied, thanks.

Next time please add a "Signed-off-by:" line.

greg k-h

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-14 23:41 [2.6.9-rc1-mm5 cyrix.c] Fix one missed pci_find_device Hanna Linder
2004-09-15 22:14 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).