summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/w9966.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/w9966.c')
-rw-r--r--linux/drivers/media/video/w9966.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/w9966.c b/linux/drivers/media/video/w9966.c
index f3f28c232..53f317dcd 100644
--- a/linux/drivers/media/video/w9966.c
+++ b/linux/drivers/media/video/w9966.c
@@ -728,8 +728,7 @@ static int w9966_wReg_i2c(struct w9966_dev* cam, int reg, int data)
* Video4linux interfacing
*/
-static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file,
- unsigned int cmd, void *arg)
+static int w9966_v4l_do_ioctl(struct file *file, unsigned int cmd, void *arg)
{
struct w9966_dev *cam = video_drvdata(file);
@@ -882,7 +881,7 @@ static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file,
static int w9966_v4l_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
{
- return video_usercopy(inode, file, cmd, arg, w9966_v4l_do_ioctl);
+ return video_usercopy(file, cmd, arg, w9966_v4l_do_ioctl);
}
// Capture data