diff options
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 892e42e80a32..5e42c19a03e3 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -304,7 +304,7 @@ static int cdrom_decode_status(ide_drive_t *drive, int good_stat, int *stat_ret) | |||
304 | return 0; | 304 | return 0; |
305 | 305 | ||
306 | /* Get the IDE error register. */ | 306 | /* Get the IDE error register. */ |
307 | err = HWIF(drive)->INB(IDE_ERROR_REG); | 307 | err = ide_read_error(drive); |
308 | sense_key = err >> 4; | 308 | sense_key = err >> 4; |
309 | 309 | ||
310 | if (rq == NULL) { | 310 | if (rq == NULL) { |