diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2009-12-09 12:40:08 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 08:53:20 +0100 |
commit | 61f5db549dde43fb91a8b337f3a4096e4076c2d9 (patch) | |
tree | 0c28bb9dd1aab1b3fc8ce61036677a7790316421 /include/media/soc_mediabus.h | |
parent | [media] v4l: Make video_device inherit from media_entity (diff) | |
download | linux-61f5db549dde43fb91a8b337f3a4096e4076c2d9.tar.xz linux-61f5db549dde43fb91a8b337f3a4096e4076c2d9.zip |
[media] v4l: Make v4l2_subdev inherit from media_entity
V4L2 subdevices are media entities. As such they need to inherit from
(include) the media_entity structure.
When registering/unregistering the subdevice, the media entity is
automatically registered/unregistered. The entity is acquired on device
open and released on device close.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/soc_mediabus.h')
0 files changed, 0 insertions, 0 deletions