]> err.no Git - linux-2.6/commitdiff
HID: fix compile issue in hiddev ioctl
authorJiri Kosina <jkosina@suse.cz>
Tue, 27 May 2008 09:36:40 +0000 (11:36 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Jul 2008 13:21:55 +0000 (15:21 +0200)
Fix build failure introduced by Alan's ioctl -> unlocked_ioctl
(pushing BKL down to the driver) conversion patch for hiddev.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hiddev.c

index fe4f36472cb7a05b5af52233a30908134dc910ab..9c8d156344721f884c05c210719bc90c15ddc495 100644 (file)
@@ -764,7 +764,7 @@ static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 static long hiddev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
        struct inode *inode = file->f_path.dentry->d_inode;
-       return hiddev_ioctl(inode, file, cmd, (unsigned long)compat_ptr(arg));
+       return hiddev_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
 }
 #endif