diff options
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index a6c847d31b9d..3f630e4080d4 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -959,7 +959,8 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) | |||
959 | expiry = ide_cd_expiry; | 959 | expiry = ide_cd_expiry; |
960 | } | 960 | } |
961 | 961 | ||
962 | ide_set_handler(drive, cdrom_newpc_intr, timeout, expiry); | 962 | hwif->expiry = expiry; |
963 | ide_set_handler(drive, cdrom_newpc_intr, timeout); | ||
963 | return ide_started; | 964 | return ide_started; |
964 | 965 | ||
965 | end_request: | 966 | end_request: |