diff options
Diffstat (limited to 'include/media/v4l2-ioctl.h')
| -rw-r--r-- | include/media/v4l2-ioctl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h index e8ba0f2efbae..06daa6e8e051 100644 --- a/include/media/v4l2-ioctl.h +++ b/include/media/v4l2-ioctl.h | |||
| @@ -21,6 +21,8 @@ | |||
| 21 | #include <linux/videodev2.h> | 21 | #include <linux/videodev2.h> |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | struct v4l2_fh; | ||
| 25 | |||
| 24 | struct v4l2_ioctl_ops { | 26 | struct v4l2_ioctl_ops { |
| 25 | /* ioctl callbacks */ | 27 | /* ioctl callbacks */ |
| 26 | 28 | ||
| @@ -254,6 +256,11 @@ struct v4l2_ioctl_ops { | |||
| 254 | int (*vidioc_g_dv_timings) (struct file *file, void *fh, | 256 | int (*vidioc_g_dv_timings) (struct file *file, void *fh, |
| 255 | struct v4l2_dv_timings *timings); | 257 | struct v4l2_dv_timings *timings); |
| 256 | 258 | ||
| 259 | int (*vidioc_subscribe_event) (struct v4l2_fh *fh, | ||
| 260 | struct v4l2_event_subscription *sub); | ||
| 261 | int (*vidioc_unsubscribe_event)(struct v4l2_fh *fh, | ||
| 262 | struct v4l2_event_subscription *sub); | ||
| 263 | |||
| 257 | /* For other private ioctls */ | 264 | /* For other private ioctls */ |
| 258 | long (*vidioc_default) (struct file *file, void *fh, | 265 | long (*vidioc_default) (struct file *file, void *fh, |
| 259 | int cmd, void *arg); | 266 | int cmd, void *arg); |
