aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/viotape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index af03d2709300..a171d894b7e7 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -688,7 +688,7 @@ static int viotap_open(struct inode *inode, struct file *file)
688 if (op == NULL) 688 if (op == NULL)
689 return -ENOMEM; 689 return -ENOMEM;
690 690
691 lock_kernel() 691 lock_kernel();
692 get_dev_info(file->f_path.dentry->d_inode, &devi); 692 get_dev_info(file->f_path.dentry->d_inode, &devi);
693 693
694 /* Note: We currently only support one mode! */ 694 /* Note: We currently only support one mode! */