summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bw-qcam.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-07 08:46:07 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-07 08:46:07 +0100
commit8bf5ff37ec43c9afcf8a352754624f6462c06a02 (patch)
treec407189bc8a36c3b5d452a13692037949858e7f2 /linux/drivers/media/video/bw-qcam.c
parent4c6dca7b19e1055dd0d4aaa8123c9a832f117202 (diff)
parent17490135b2a7a46fc7fb67d64dbaeb1301ea169d (diff)
downloadmediapointer-dvb-s2-8bf5ff37ec43c9afcf8a352754624f6462c06a02.tar.gz
mediapointer-dvb-s2-8bf5ff37ec43c9afcf8a352754624f6462c06a02.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/bw-qcam.c')
-rw-r--r--linux/drivers/media/video/bw-qcam.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/bw-qcam.c b/linux/drivers/media/video/bw-qcam.c
index ca8fabdf3..e534eaf39 100644
--- a/linux/drivers/media/video/bw-qcam.c
+++ b/linux/drivers/media/video/bw-qcam.c
@@ -707,8 +707,7 @@ static long qc_capture(struct qcam_device * q, char __user *buf, unsigned long l
* Video4linux interfacing
*/
-static int qcam_do_ioctl(struct inode *inode, struct file *file,
- unsigned int cmd, void *arg)
+static int qcam_do_ioctl(struct file *file, unsigned int cmd, void *arg)
{
struct video_device *dev = video_devdata(file);
struct qcam_device *qcam=(struct qcam_device *)dev;
@@ -868,7 +867,7 @@ static int qcam_do_ioctl(struct inode *inode, struct file *file,
static int qcam_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
{
- return video_usercopy(inode, file, cmd, arg, qcam_do_ioctl);
+ return video_usercopy(file, cmd, arg, qcam_do_ioctl);
}
static ssize_t qcam_read(struct file *file, char __user *buf,