diff options
Diffstat (limited to 'drivers/media/video/mem2mem_testdev.c')
-rw-r--r-- | drivers/media/video/mem2mem_testdev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/mem2mem_testdev.c b/drivers/media/video/mem2mem_testdev.c index fe8c565f35a1..f7a2a2d635f5 100644 --- a/drivers/media/video/mem2mem_testdev.c +++ b/drivers/media/video/mem2mem_testdev.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <media/v4l2-device.h> | 28 | #include <media/v4l2-device.h> |
29 | #include <media/v4l2-ioctl.h> | 29 | #include <media/v4l2-ioctl.h> |
30 | #include <media/v4l2-ctrls.h> | 30 | #include <media/v4l2-ctrls.h> |
31 | #include <media/v4l2-event.h> | ||
31 | #include <media/videobuf2-vmalloc.h> | 32 | #include <media/videobuf2-vmalloc.h> |
32 | 33 | ||
33 | #define MEM2MEM_TEST_MODULE_NAME "mem2mem-testdev" | 34 | #define MEM2MEM_TEST_MODULE_NAME "mem2mem-testdev" |
@@ -738,6 +739,8 @@ static const struct v4l2_ioctl_ops m2mtest_ioctl_ops = { | |||
738 | 739 | ||
739 | .vidioc_streamon = vidioc_streamon, | 740 | .vidioc_streamon = vidioc_streamon, |
740 | .vidioc_streamoff = vidioc_streamoff, | 741 | .vidioc_streamoff = vidioc_streamoff, |
742 | .vidioc_subscribe_event = v4l2_ctrl_subscribe_event, | ||
743 | .vidioc_unsubscribe_event = v4l2_event_unsubscribe, | ||
741 | }; | 744 | }; |
742 | 745 | ||
743 | 746 | ||