From: Jiri Kosina Date: Tue, 27 May 2008 09:36:40 +0000 (+0200) Subject: HID: fix compile issue in hiddev ioctl X-Git-Tag: v2.6.27-rc1~855^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=88af45bafdda8f892c9d45ce38d55fdf7e734513;p=linux-2.6-omap-h63xx.git HID: fix compile issue in hiddev ioctl 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 --- diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index fe4f36472cb..9c8d1563447 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c @@ -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