diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-01 12:25:11 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-01 12:25:11 +0100 |
commit | 13454bb6f15bcd4c753c79c7b0e173c41163c635 (patch) | |
tree | 158cb0d7e1b4a17d65d7e3c4074b2f30a3b44304 /linux/drivers/media/common/saa7146_fops.c | |
parent | 9923a498d023c4ea6798835f3e74ae33e8c07f69 (diff) | |
download | mediapointer-dvb-s2-13454bb6f15bcd4c753c79c7b0e173c41163c635.tar.gz mediapointer-dvb-s2-13454bb6f15bcd4c753c79c7b0e173c41163c635.tar.bz2 |
v4l: remove inode argument from video_usercopy
From: Hans Verkuil <hverkuil@xs4all.nl>
The inode argument was never used. Removing it from video_usercopy
brings the function pointer type of video_usercopy in line with similar
v4l2 functions, thus simplifying several drivers.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/common/saa7146_fops.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c index 867687b12..cd4f95860 100644 --- a/linux/drivers/media/common/saa7146_fops.c +++ b/linux/drivers/media/common/saa7146_fops.c @@ -314,7 +314,7 @@ static int fops_ioctl(struct inode *inode, struct file *file, unsigned int cmd, /* DEB_EE(("inode:%p, file:%p, cmd:%d, arg:%li\n",inode, file, cmd, arg)); */ - return video_usercopy(inode, file, cmd, arg, saa7146_video_do_ioctl); + return video_usercopy(file, cmd, arg, saa7146_video_do_ioctl); } static int fops_mmap(struct file *file, struct vm_area_struct * vma) |