From c3b5b0241f620a356c97d8f43343e721c718806d Mon Sep 17 00:00:00 2001 From: Sakari Ailus Date: Mon, 1 Mar 2010 05:14:18 -0300 Subject: 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 Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-fh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/media/v4l2-fh.h') 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 @@ #include struct video_device; +struct v4l2_events; struct v4l2_fh { struct list_head list; struct video_device *vdev; + struct v4l2_events *events; /* events, pending and subscribed */ }; /* -- cgit v1.2.1