aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-tape.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-05 20:57:51 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-05 20:57:51 -0500
commit64a57fe4393bae920d03c253173f59d8a7ec8e25 (patch)
treebfbac6fa370401d519a6fd9433a330dd55efe68d /drivers/ide/ide-tape.c
parentc47137a99c597330b69057158b26061a360c0e09 (diff)
ide: add ide_read_error() inline helper
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r--drivers/ide/ide-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 66801c084dd8..401731302c5c 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -1125,7 +1125,7 @@ static ide_startstop_t idetape_retry_pc (ide_drive_t *drive)
1125 idetape_pc_t *pc; 1125 idetape_pc_t *pc;
1126 struct request *rq; 1126 struct request *rq;
1127 1127
1128 (void)drive->hwif->INB(IDE_ERROR_REG); 1128 (void)ide_read_error(drive);
1129 pc = idetape_next_pc_storage(drive); 1129 pc = idetape_next_pc_storage(drive);
1130 rq = idetape_next_rq_storage(drive); 1130 rq = idetape_next_rq_storage(drive);
1131 idetape_create_request_sense_cmd(pc); 1131 idetape_create_request_sense_cmd(pc);