Skip to content

Commit aa24d97

Browse files
atsushi-nemotobzolnier
authored andcommitted
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>
1 parent d68bab5 commit aa24d97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/ide/tx4939ide.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ static void tx4939ide_tf_load(ide_drive_t *drive, struct ide_cmd *cmd)
445445
#ifdef __BIG_ENDIAN
446446

447447
/* 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,
449449
void *buf, unsigned int len)
450450
{
451451
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,
457457
__ide_flush_dcache_range((unsigned long)buf, roundup(len, 2));
458458
}
459459

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,
461461
void *buf, unsigned int len)
462462
{
463463
unsigned long port = drive->hwif->io_ports.data_addr;

0 commit comments

Comments
 (0)