aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-01-15 15:42:37 -0800
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:16 -0500
commitc294f1b32940d5bf853e006b9ccc72629c859749 (patch)
tree6b577d7f6ab0e1e6fc876f851b984cccb6e21e01 /drivers/ata/pata_legacy.c
parent045eeb4f796bf50439cfbf4f165946b648a1a928 (diff)
[libata] pata_legacy: typo fix
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>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
-rw-r--r--drivers/ata/pata_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index dae85aa12e3..c37ba324e71 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -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;