diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-ioctl.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-ioctl.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c index 35fde4e931f5..e9912db3b496 100644 --- a/drivers/media/video/cx18/cx18-ioctl.c +++ b/drivers/media/video/cx18/cx18-ioctl.c | |||
@@ -1142,24 +1142,6 @@ static long cx18_default(struct file *file, void *fh, bool valid_prio, | |||
1142 | return 0; | 1142 | return 0; |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | long cx18_v4l2_ioctl(struct file *filp, unsigned int cmd, | ||
1146 | unsigned long arg) | ||
1147 | { | ||
1148 | struct video_device *vfd = video_devdata(filp); | ||
1149 | struct cx18_open_id *id = file2id(filp); | ||
1150 | struct cx18 *cx = id->cx; | ||
1151 | long res; | ||
1152 | |||
1153 | mutex_lock(&cx->serialize_lock); | ||
1154 | |||
1155 | if (cx18_debug & CX18_DBGFLG_IOCTL) | ||
1156 | vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; | ||
1157 | res = video_ioctl2(filp, cmd, arg); | ||
1158 | vfd->debug = 0; | ||
1159 | mutex_unlock(&cx->serialize_lock); | ||
1160 | return res; | ||
1161 | } | ||
1162 | |||
1163 | static const struct v4l2_ioctl_ops cx18_ioctl_ops = { | 1145 | static const struct v4l2_ioctl_ops cx18_ioctl_ops = { |
1164 | .vidioc_querycap = cx18_querycap, | 1146 | .vidioc_querycap = cx18_querycap, |
1165 | .vidioc_s_audio = cx18_s_audio, | 1147 | .vidioc_s_audio = cx18_s_audio, |