diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-12 06:54:43 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:17 -0400 |
commit | 2d28b686adc18567b388362e1f7b86658cfd81fc (patch) | |
tree | 233ac5fb1aeb920cb0539719b1761c01ad109049 /include/media/v4l2-fh.h | |
parent | 7ebbc39fa0b469243b985e5e26755f1e6184213f (diff) |
[media] v4l2-ioctl: add ctrl_handler to v4l2_fh
This is required to implement control events and is also needed to allow
for per-filehandle control handlers.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-fh.h')
-rw-r--r-- | include/media/v4l2-fh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-fh.h b/include/media/v4l2-fh.h index 0206aa55be24..d2471116ad68 100644 --- a/include/media/v4l2-fh.h +++ b/include/media/v4l2-fh.h | |||
@@ -30,11 +30,13 @@ | |||
30 | 30 | ||
31 | struct video_device; | 31 | struct video_device; |
32 | struct v4l2_events; | 32 | struct v4l2_events; |
33 | struct v4l2_ctrl_handler; | ||
33 | 34 | ||
34 | struct v4l2_fh { | 35 | struct v4l2_fh { |
35 | struct list_head list; | 36 | struct list_head list; |
36 | struct video_device *vdev; | 37 | struct video_device *vdev; |
37 | struct v4l2_events *events; /* events, pending and subscribed */ | 38 | struct v4l2_events *events; /* events, pending and subscribed */ |
39 | struct v4l2_ctrl_handler *ctrl_handler; | ||
38 | enum v4l2_priority prio; | 40 | enum v4l2_priority prio; |
39 | }; | 41 | }; |
40 | 42 | ||