aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
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 dae85aa12e32..c37ba324e71c 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)
252static unsigned int pdc_data_xfer_vlb(struct ata_device *dev, 252static unsigned int pdc_data_xfer_vlb(struct ata_device *dev,
253 unsigned char *buf, unsigned int buflen, int rw) 253 unsigned char *buf, unsigned int buflen, int rw)
254{ 254{
255 if (ata_id_has_dword_io(adev->id)) { 255 if (ata_id_has_dword_io(dev->id)) {
256 struct ata_port *ap = dev->link->ap; 256 struct ata_port *ap = dev->link->ap;
257 int slop = buflen & 3; 257 int slop = buflen & 3;
258 unsigned long flags; 258 unsigned long flags;