]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[libata] pata_legacy: typo fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 15 Jan 2008 23:42:37 +0000 (15:42 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:16 +0000 (05:24 -0500)
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_legacy.c

index dae85aa12e32e60fd6269c0b9881c1e715638b59..c37ba324e71c4507e571bb291738ab41d2a68f4f 100644 (file)
@@ -252,7 +252,7 @@ static void pdc20230_set_piomode(struct ata_port *ap, struct ata_device *adev)
 static unsigned int pdc_data_xfer_vlb(struct ata_device *dev,
                                unsigned char *buf, unsigned int buflen, int rw)
 {
-       if (ata_id_has_dword_io(adev->id)) {
+       if (ata_id_has_dword_io(dev->id)) {
                struct ata_port *ap = dev->link->ap;
                int slop = buflen & 3;
                unsigned long flags;