diff options
Diffstat (limited to 'drivers/ide/ide-lib.c')
-rw-r--r-- | drivers/ide/ide-lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c index 062d3bcb2471..6dbf2af0d215 100644 --- a/drivers/ide/ide-lib.c +++ b/drivers/ide/ide-lib.c | |||
@@ -468,8 +468,7 @@ static void ide_dump_opcode(ide_drive_t *drive) | |||
468 | } else if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { | 468 | } else if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { |
469 | ide_task_t *args = rq->special; | 469 | ide_task_t *args = rq->special; |
470 | if (args) { | 470 | if (args) { |
471 | task_struct_t *tf = (task_struct_t *) args->tfRegister; | 471 | opcode = args->tf.command; |
472 | opcode = tf->command; | ||
473 | found = 1; | 472 | found = 1; |
474 | } | 473 | } |
475 | } | 474 | } |