aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-05-19 02:06:52 -0400
committerJonathan Corbet <corbet@lwn.net>2008-06-20 16:05:53 -0400
commit5ca6a93d802a9d110127556e5d3ed032fd273e03 (patch)
treecbb2437d4d240fde5d95aa8a5925b83c7976f7da /drivers/char/viotape.c
parent9514dff918b947ae43b66517dc90d0e05548bd6a (diff)
bkl-removal viotape fixup
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/char/viotape.c')
-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! */