summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/tape_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/char/tape_proc.c')
-rw-r--r--drivers/s390/char/tape_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/tape_proc.c b/drivers/s390/char/tape_proc.c
index 202f42132939..ebd820ccfb24 100644
--- a/drivers/s390/char/tape_proc.c
+++ b/drivers/s390/char/tape_proc.c
@@ -45,7 +45,7 @@ static int tape_proc_show(struct seq_file *m, void *v)
seq_printf(m, "TapeNo\tBusID CuType/Model\t"
"DevType/Model\tBlkSize\tState\tOp\tMedState\n");
}
- device = tape_get_device(n);
+ device = tape_find_device(n);
if (IS_ERR(device))
return 0;
spin_lock_irq(get_ccwdev_lock(device->cdev));