diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-03 10:22:06 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-03 10:22:06 +0100 |
commit | b67e9d19329d1dc7b33dbe64931d630fee7b4c47 (patch) | |
tree | 7cb4bd587165c3c425151a83100dc1daf01760be /linux/drivers/media/video/pms.c | |
parent | 1874c0ea0b23d2eab6c2c6ba5d06ab4e7191b6f8 (diff) | |
download | mediapointer-dvb-s2-b67e9d19329d1dc7b33dbe64931d630fee7b4c47.tar.gz mediapointer-dvb-s2-b67e9d19329d1dc7b33dbe64931d630fee7b4c47.tar.bz2 |
v4l: missed some video_usercopy conversions.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/pms.c')
-rw-r--r-- | linux/drivers/media/video/pms.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/pms.c b/linux/drivers/media/video/pms.c index 6342abc24..522f75def 100644 --- a/linux/drivers/media/video/pms.c +++ b/linux/drivers/media/video/pms.c @@ -681,8 +681,7 @@ static int pms_capture(struct pms_device *dev, char __user *buf, int rgb555, int * Video4linux interfacing */ -static int pms_do_ioctl(struct inode *inode, struct file *file, - unsigned int cmd, void *arg) +static int pms_do_ioctl(struct file *file, unsigned int cmd, void *arg) { struct video_device *dev = video_devdata(file); struct pms_device *pd=(struct pms_device *)dev; @@ -867,7 +866,7 @@ static int pms_do_ioctl(struct inode *inode, struct file *file, static int pms_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) { - return video_usercopy(inode, file, cmd, arg, pms_do_ioctl); + return video_usercopy(file, cmd, arg, pms_do_ioctl); } static ssize_t pms_read(struct file *file, char __user *buf, |