summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/se401.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/se401.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/se401.c')
-rw-r--r--linux/drivers/media/video/se401.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/se401.c b/linux/drivers/media/video/se401.c
index c4f83c5b3..8935c1632 100644
--- a/linux/drivers/media/video/se401.c
+++ b/linux/drivers/media/video/se401.c
@@ -983,8 +983,7 @@ static int se401_close(struct inode *inode, struct file *file)
return 0;
}
-static int se401_do_ioctl(struct inode *inode, struct file *file,
- unsigned int cmd, void *arg)
+static int se401_do_ioctl(struct file *file, unsigned int cmd, void *arg)
{
struct video_device *vdev = file->private_data;
struct usb_se401 *se401 = (struct usb_se401 *)vdev;
@@ -1150,7 +1149,7 @@ static int se401_do_ioctl(struct inode *inode, struct file *file,
static int se401_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
{
- return video_usercopy(inode, file, cmd, arg, se401_do_ioctl);
+ return video_usercopy(file, cmd, arg, se401_do_ioctl);
}
static ssize_t se401_read(struct file *file, char __user *buf,