diff options
author | Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> | 2010-03-01 03:14:18 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:06 -0400 |
commit | c3b5b0241f620a356c97d8f43343e721c718806d (patch) | |
tree | 6323e5be6b646fea67059f069a186ef8557bdbdb /include/media/v4l2-fh.h | |
parent | fda1021477b390506ebed0225eaa6d31a903e2b7 (diff) |
V4L/DVB: V4L: Events: Add backend
Add event handling backend to V4L2. The backend handles event subscription
and delivery to file handles. Event subscriptions are based on file handle.
Events may be delivered to all subscribed file handles on a device
independent of where they originate from.
Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
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 4aaa1508c8b5..1d72dde320bf 100644 --- a/include/media/v4l2-fh.h +++ b/include/media/v4l2-fh.h | |||
@@ -29,10 +29,12 @@ | |||
29 | #include <linux/list.h> | 29 | #include <linux/list.h> |
30 | 30 | ||
31 | struct video_device; | 31 | struct video_device; |
32 | struct v4l2_events; | ||
32 | 33 | ||
33 | struct v4l2_fh { | 34 | struct v4l2_fh { |
34 | struct list_head list; | 35 | struct list_head list; |
35 | struct video_device *vdev; | 36 | struct video_device *vdev; |
37 | struct v4l2_events *events; /* events, pending and subscribed */ | ||
36 | }; | 38 | }; |
37 | 39 | ||
38 | /* | 40 | /* |