From: Roel Kluin Date: Wed, 25 Feb 2009 19:28:22 +0000 (+0100) Subject: amd74xx: device/vendor confusion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43a12216d3664a9fa6c8ceb398da6ef08fee7ff7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git amd74xx: device/vendor confusion Device and vendor ids were confused Signed-off-by: Roel Kluin Cc: Andrew Morton Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/amd74xx.c b/drivers/ide/amd74xx.c index 69660a431cd9..77267c859965 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;