All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] amd74xx: fix typo in drivers/ide/amd74xx.c
@ 2009-02-17  6:16 Wei Yongjun
  2009-02-17  6:47 ` Jeff Garzik
  2009-02-17 11:23 ` Sergei Shtylyov
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Yongjun @ 2009-02-17  6:16 UTC (permalink / raw)
  To: linux-ide, Bartlomiej Zolnierkiewicz, Wei Yongjun

Fix the typo of dev->vendor to dev->device.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
---
 drivers/ide/amd74xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/amd74xx.c b/drivers/ide/amd74xx.c
index 69660a4..77267c8 100644
--- a/drivers/ide/amd74xx.c
+++ b/drivers/ide/amd74xx.c
@@ -166,7 +166,7 @@ static unsigned int init_chipset_amd74xx(struct pci_dev *dev)
 	 * Check for broken FIFO support.
 	 */
 	if (dev->vendor == PCI_VENDOR_ID_AMD &&
-	    dev->vendor == PCI_DEVICE_ID_AMD_VIPER_7411)
+	    dev->device == PCI_DEVICE_ID_AMD_VIPER_7411)
 		t &= 0x0f;
 	else
 		t |= 0xf0;
-- 
1.5.3.8





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

end of thread, other threads:[~2009-02-17 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17  6:16 [PATCH] amd74xx: fix typo in drivers/ide/amd74xx.c Wei Yongjun
2009-02-17  6:47 ` Jeff Garzik
2009-02-17 11:23 ` Sergei Shtylyov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.