]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65839a424b4e1a262ae6452bbe0ddd090944e3fa
treeaaffa67ec3b3fc958ea2d7eea50e1b67242f2645
parent82715411db956b68e5eb2a451d9e53900481c3d6
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]