diff options
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 72caca3cb7aa..5c26e98e2e39 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -627,8 +627,7 @@ static int ide_tape_io_buffers(ide_drive_t *drive, struct ide_atapi_pc *pc, | |||
627 | */ | 627 | */ |
628 | static ide_startstop_t idetape_pc_intr(ide_drive_t *drive) | 628 | static ide_startstop_t idetape_pc_intr(ide_drive_t *drive) |
629 | { | 629 | { |
630 | return ide_pc_intr(drive, idetape_pc_intr, idetape_update_buffers, | 630 | return ide_pc_intr(drive, idetape_pc_intr); |
631 | ide_tape_io_buffers); | ||
632 | } | 631 | } |
633 | 632 | ||
634 | /* | 633 | /* |
@@ -2211,7 +2210,9 @@ static void idetape_setup(ide_drive_t *drive, idetape_tape_t *tape, int minor) | |||
2211 | u8 gcw[2]; | 2210 | u8 gcw[2]; |
2212 | u16 *ctl = (u16 *)&tape->caps[12]; | 2211 | u16 *ctl = (u16 *)&tape->caps[12]; |
2213 | 2212 | ||
2214 | drive->pc_callback = ide_tape_callback; | 2213 | drive->pc_callback = ide_tape_callback; |
2214 | drive->pc_update_buffers = idetape_update_buffers; | ||
2215 | drive->pc_io_buffers = ide_tape_io_buffers; | ||
2215 | 2216 | ||
2216 | spin_lock_init(&tape->lock); | 2217 | spin_lock_init(&tape->lock); |
2217 | drive->dsc_overlap = 1; | 2218 | drive->dsc_overlap = 1; |