From: Wei Yongjun <yjwei@cn.fujitsu.com>
To: linux-ide@vger.kernel.org,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
Wei Yongjun <yjwei@cn.fujitsu.com>
Subject: [PATCH] amd74xx: fix typo in drivers/ide/amd74xx.c
Date: Tue, 17 Feb 2009 14:16:01 +0800 [thread overview]
Message-ID: <499A5621.5000104@cn.fujitsu.com> (raw)
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
next reply other threads:[~2009-02-17 6:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-17 6:16 Wei Yongjun [this message]
2009-02-17 6:47 ` [PATCH] amd74xx: fix typo in drivers/ide/amd74xx.c Jeff Garzik
2009-02-17 11:23 ` Sergei Shtylyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499A5621.5000104@cn.fujitsu.com \
--to=yjwei@cn.fujitsu.com \
--cc=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.