aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-tape.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r--drivers/ide/ide-tape.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 874e60fc85d1..f41983e4a4e4 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -2514,6 +2514,7 @@ static void idetape_setup(ide_drive_t *drive, idetape_tape_t *tape, int minor)
2514 tape->best_dsc_rw_freq * 1000 / HZ, 2514 tape->best_dsc_rw_freq * 1000 / HZ,
2515 drive->using_dma ? ", DMA":""); 2515 drive->using_dma ? ", DMA":"");
2516 2516
2517 ide_proc_register_driver(drive, tape->driver);
2517 idetape_add_settings(drive); 2518 idetape_add_settings(drive);
2518} 2519}
2519 2520
@@ -2669,8 +2670,6 @@ static int ide_tape_probe(ide_drive_t *drive)
2669 2670
2670 ide_init_disk(g, drive); 2671 ide_init_disk(g, drive);
2671 2672
2672 ide_proc_register_driver(drive, &idetape_driver);
2673
2674 kref_init(&tape->kref); 2673 kref_init(&tape->kref);
2675 2674
2676 tape->drive = drive; 2675 tape->drive = drive;