summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/v4l2-ioctl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-05 16:15:43 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-05 16:15:43 -0200
commitf908968983a448cba404613e0564a7097b63558f (patch)
tree31f33203850a0c4fcde070ee5e0795880ca7c8fd /linux/drivers/media/video/v4l2-ioctl.c
parent94703235501e112e7496efe5bce32671e121d98f (diff)
parent0cb9746f402b6eb2d3220ae59b522cddf4db9bcd (diff)
downloadmediapointer-dvb-s2-f908968983a448cba404613e0564a7097b63558f.tar.gz
mediapointer-dvb-s2-f908968983a448cba404613e0564a7097b63558f.tar.bz2
merge: http://linuxtv.org/hg/~awalls/cx18-bugfix
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/v4l2-ioctl.c')
-rw-r--r--linux/drivers/media/video/v4l2-ioctl.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/linux/drivers/media/video/v4l2-ioctl.c b/linux/drivers/media/video/v4l2-ioctl.c
index a8c65f231..b38d4954c 100644
--- a/linux/drivers/media/video/v4l2-ioctl.c
+++ b/linux/drivers/media/video/v4l2-ioctl.c
@@ -394,10 +394,8 @@ video_fix_command(unsigned int cmd)
* Obsolete usercopy function - Should be removed soon
*/
int
-video_usercopy(struct inode *inode, struct file *file,
- unsigned int cmd, unsigned long arg,
- int (*func)(struct inode *inode, struct file *file,
- unsigned int cmd, void *arg))
+video_usercopy(struct file *file, unsigned int cmd, unsigned long arg,
+ v4l2_kioctl func)
{
char sbuf[128];
void *mbuf = NULL;
@@ -459,7 +457,7 @@ video_usercopy(struct inode *inode, struct file *file,
}
/* call driver */
- err = func(inode, file, cmd, parg);
+ err = func(file, cmd, parg);
if (err == -ENOIOCTLCMD)
err = -EINVAL;
if (is_ext_ctrl) {