diff options
Diffstat (limited to 'drivers/media/video/se401.c')
-rw-r--r-- | drivers/media/video/se401.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/se401.c b/drivers/media/video/se401.c index 044a2e94c34d..d652f25eef0e 100644 --- a/drivers/media/video/se401.c +++ b/drivers/media/video/se401.c | |||
@@ -975,8 +975,7 @@ static int se401_close(struct inode *inode, struct file *file) | |||
975 | return 0; | 975 | return 0; |
976 | } | 976 | } |
977 | 977 | ||
978 | static int se401_do_ioctl(struct inode *inode, struct file *file, | 978 | static int se401_do_ioctl(struct file *file, unsigned int cmd, void *arg) |
979 | unsigned int cmd, void *arg) | ||
980 | { | 979 | { |
981 | struct video_device *vdev = file->private_data; | 980 | struct video_device *vdev = file->private_data; |
982 | struct usb_se401 *se401 = (struct usb_se401 *)vdev; | 981 | struct usb_se401 *se401 = (struct usb_se401 *)vdev; |
@@ -1142,7 +1141,7 @@ static int se401_do_ioctl(struct inode *inode, struct file *file, | |||
1142 | static int se401_ioctl(struct inode *inode, struct file *file, | 1141 | static int se401_ioctl(struct inode *inode, struct file *file, |
1143 | unsigned int cmd, unsigned long arg) | 1142 | unsigned int cmd, unsigned long arg) |
1144 | { | 1143 | { |
1145 | return video_usercopy(inode, file, cmd, arg, se401_do_ioctl); | 1144 | return video_usercopy(file, cmd, arg, se401_do_ioctl); |
1146 | } | 1145 | } |
1147 | 1146 | ||
1148 | static ssize_t se401_read(struct file *file, char __user *buf, | 1147 | static ssize_t se401_read(struct file *file, char __user *buf, |