diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-04-08 08:12:52 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-08 08:12:52 -0400 |
commit | aa24d9783d1dcba1a25451dadb6fb0ee092bd8df (patch) | |
tree | 40f32ce5ff6cafe32fc1e6e7f8b3e770a5d8c02b /drivers/ide/tx4939ide.c | |
parent | d68bab503e64e87c464c5a27a56877a04e4404b5 (diff) |
tx4939ide: Fix tx4939ide_{in,out}put_data_swap argument
The commit adb1af9 ("ide: pass command instead of request to
ide_pio_datablock()") missed tx4939ide driver.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/tx4939ide.c')
-rw-r--r-- | drivers/ide/tx4939ide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c index f9b68783d393..bee9461f13b3 100644 --- a/drivers/ide/tx4939ide.c +++ b/drivers/ide/tx4939ide.c | |||
@@ -445,7 +445,7 @@ static void tx4939ide_tf_load(ide_drive_t *drive, struct ide_cmd *cmd) | |||
445 | #ifdef __BIG_ENDIAN | 445 | #ifdef __BIG_ENDIAN |
446 | 446 | ||
447 | /* custom iops (independent from SWAP_IO_SPACE) */ | 447 | /* custom iops (independent from SWAP_IO_SPACE) */ |
448 | static void tx4939ide_input_data_swap(ide_drive_t *drive, struct request *rq, | 448 | static void tx4939ide_input_data_swap(ide_drive_t *drive, struct ide_cmd *cmd, |
449 | void *buf, unsigned int len) | 449 | void *buf, unsigned int len) |
450 | { | 450 | { |
451 | unsigned long port = drive->hwif->io_ports.data_addr; | 451 | unsigned long port = drive->hwif->io_ports.data_addr; |
@@ -457,7 +457,7 @@ static void tx4939ide_input_data_swap(ide_drive_t *drive, struct request *rq, | |||
457 | __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); | 457 | __ide_flush_dcache_range((unsigned long)buf, roundup(len, 2)); |
458 | } | 458 | } |
459 | 459 | ||
460 | static void tx4939ide_output_data_swap(ide_drive_t *drive, struct request *rq, | 460 | static void tx4939ide_output_data_swap(ide_drive_t *drive, struct ide_cmd *cmd, |
461 | void *buf, unsigned int len) | 461 | void *buf, unsigned int len) |
462 | { | 462 | { |
463 | unsigned long port = drive->hwif->io_ports.data_addr; | 463 | unsigned long port = drive->hwif->io_ports.data_addr; |