diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2009-12-09 12:40:10 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 08:53:19 +0100 |
commit | 2c0ab67be1b4197a4effac89bb0604832e38be8d (patch) | |
tree | 033b1d2c6ae25e05f1f46f3c2e7bdb504c359ad3 /drivers/media/video/v4l2-device.c | |
parent | [media] v4l: Add a media_device pointer to the v4l2_device structure (diff) | |
download | linux-2c0ab67be1b4197a4effac89bb0604832e38be8d.tar.xz linux-2c0ab67be1b4197a4effac89bb0604832e38be8d.zip |
[media] v4l: Make video_device inherit from media_entity
V4L2 devices are media entities. As such they need to inherit from
(include) the media_entity structure.
When registering/unregistering the device, 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 'drivers/media/video/v4l2-device.c')
0 files changed, 0 insertions, 0 deletions