V4L/DVB: V4L: File handles
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Tue, 23 Mar 2010 12:25:26 +0000 (09:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:04 +0000 (12:58 -0300)
commit1babcb460f2b87c20eb6860b9685a0dab636cc4b
treeaaffa67ec3b3fc958ea2d7eea50e1b67242f2645
parent96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf
V4L/DVB: V4L: File handles

This patch adds a list of v4l2_fh structures to every video_device.
It allows using file handle related information in V4L2. The event interface
is one example of such use.

The use of v4l2_fh is not mandatory for drivers.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Makefile
drivers/media/video/v4l2-dev.c
drivers/media/video/v4l2-fh.c [new file with mode: 0644]
include/media/v4l2-dev.h
include/media/v4l2-fh.h [new file with mode: 0644]