summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ov511.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-05 20:04:56 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-05 20:04:56 -0200
commit7af33dc182a51e3feda1246207c939d8459dbd61 (patch)
tree81416520e5321725fa97909e5652ed7c87598893 /linux/drivers/media/video/ov511.c
parent1272389ee0a46d702d0dc471d791b9fae7668aed (diff)
parentb4efb4ebbf8e3e7d3d0230bf4a811f7dafeef9a0 (diff)
downloadmediapointer-dvb-s2-7af33dc182a51e3feda1246207c939d8459dbd61.tar.gz
mediapointer-dvb-s2-7af33dc182a51e3feda1246207c939d8459dbd61.tar.bz2
merge: http://linuxtv.org/hg/~anttip/af9015
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/ov511.c')
-rw-r--r--linux/drivers/media/video/ov511.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/ov511.c b/linux/drivers/media/video/ov511.c
index 00d5370c9..ca3a89616 100644
--- a/linux/drivers/media/video/ov511.c
+++ b/linux/drivers/media/video/ov511.c
@@ -4015,8 +4015,7 @@ ov51x_v4l1_close(struct inode *inode, struct file *file)
/* Do not call this function directly! */
static int
-ov51x_v4l1_ioctl_internal(struct inode *inode, struct file *file,
- unsigned int cmd, void *arg)
+ov51x_v4l1_ioctl_internal(struct file *file, unsigned int cmd, void *arg)
{
struct video_device *vdev = file->private_data;
struct usb_ov511 *ov = video_get_drvdata(vdev);
@@ -4465,7 +4464,7 @@ ov51x_v4l1_ioctl(struct inode *inode, struct file *file,
if (mutex_lock_interruptible(&ov->lock))
return -EINTR;
- rc = video_usercopy(inode, file, cmd, arg, ov51x_v4l1_ioctl_internal);
+ rc = video_usercopy(file, cmd, arg, ov51x_v4l1_ioctl_internal);
mutex_unlock(&ov->lock);
return rc;