diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-streams.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c index 4185bcb80ca3..9d598ab88615 100644 --- a/drivers/media/video/cx18/cx18-streams.c +++ b/drivers/media/video/cx18/cx18-streams.c | |||
@@ -40,8 +40,7 @@ static struct v4l2_file_operations cx18_v4l2_enc_fops = { | |||
40 | .owner = THIS_MODULE, | 40 | .owner = THIS_MODULE, |
41 | .read = cx18_v4l2_read, | 41 | .read = cx18_v4l2_read, |
42 | .open = cx18_v4l2_open, | 42 | .open = cx18_v4l2_open, |
43 | /* FIXME change to video_ioctl2 if serialization lock can be removed */ | 43 | .unlocked_ioctl = video_ioctl2, |
44 | .unlocked_ioctl = cx18_v4l2_ioctl, | ||
45 | .release = cx18_v4l2_close, | 44 | .release = cx18_v4l2_close, |
46 | .poll = cx18_v4l2_enc_poll, | 45 | .poll = cx18_v4l2_enc_poll, |
47 | .mmap = cx18_v4l2_mmap, | 46 | .mmap = cx18_v4l2_mmap, |
@@ -376,6 +375,7 @@ static int cx18_prep_dev(struct cx18 *cx, int type) | |||
376 | s->video_dev->fops = &cx18_v4l2_enc_fops; | 375 | s->video_dev->fops = &cx18_v4l2_enc_fops; |
377 | s->video_dev->release = video_device_release; | 376 | s->video_dev->release = video_device_release; |
378 | s->video_dev->tvnorms = V4L2_STD_ALL; | 377 | s->video_dev->tvnorms = V4L2_STD_ALL; |
378 | s->video_dev->lock = &cx->serialize_lock; | ||
379 | set_bit(V4L2_FL_USE_FH_PRIO, &s->video_dev->flags); | 379 | set_bit(V4L2_FL_USE_FH_PRIO, &s->video_dev->flags); |
380 | cx18_set_funcs(s->video_dev); | 380 | cx18_set_funcs(s->video_dev); |
381 | return 0; | 381 | return 0; |