aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_winbond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_winbond.c b/drivers/ata/pata_winbond.c
index 7312e9182d69..17a9d0713232 100644
--- a/drivers/ata/pata_winbond.c
+++ b/drivers/ata/pata_winbond.c
@@ -92,8 +92,8 @@ static void winbond_set_piomode(struct ata_port *ap, struct ata_device *adev)
92} 92}
93 93
94 94
95static void winbond_data_xfer(struct ata_device *dev, unsigned char *buf, 95static unsigned int winbond_data_xfer(struct ata_device *dev,
96 unsigned int buflen, int rw) 96 unsigned char *buf, unsigned int buflen, int rw)
97{ 97{
98 struct ata_port *ap = dev->link->ap; 98 struct ata_port *ap = dev->link->ap;
99 int slop = buflen & 3; 99 int slop = buflen & 3;