diff options
Diffstat (limited to 'drivers/ide/ide-h8300.c')
-rw-r--r-- | drivers/ide/ide-h8300.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-h8300.c b/drivers/ide/ide-h8300.c index c7883f23c66a..ff8339ed59ab 100644 --- a/drivers/ide/ide-h8300.c +++ b/drivers/ide/ide-h8300.c | |||
@@ -143,13 +143,13 @@ static void mm_insw(unsigned long addr, void *buf, u32 len) | |||
143 | *bp = bswap(*(volatile u16 *)addr); | 143 | *bp = bswap(*(volatile u16 *)addr); |
144 | } | 144 | } |
145 | 145 | ||
146 | static void h8300_input_data(ide_drive_t *drive, struct request *rq, | 146 | static void h8300_input_data(ide_drive_t *drive, struct ide_cmd *cmd, |
147 | void *buf, unsigned int len) | 147 | void *buf, unsigned int len) |
148 | { | 148 | { |
149 | mm_insw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2); | 149 | mm_insw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2); |
150 | } | 150 | } |
151 | 151 | ||
152 | static void h8300_output_data(ide_drive_t *drive, struct request *rq, | 152 | static void h8300_output_data(ide_drive_t *drive, struct ide_cmd *cmd, |
153 | void *buf, unsigned int len) | 153 | void *buf, unsigned int len) |
154 | { | 154 | { |
155 | mm_outsw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2); | 155 | mm_outsw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2); |