summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-01-21 08:56:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-25 19:51:09 -0300
commit8a65a9485832f90e18e2f7069b75a4181e2840c0 (patch)
tree151551e14937c7b1a2d28e738eed3ee154486497 /drivers/media/video/uvc/uvcvideo.h
parent4ffc2d89f38a7fbb3b24adb7fb066a159c351c11 (diff)
downloadtalos-obmc-linux-8a65a9485832f90e18e2f7069b75a4181e2840c0.tar.gz
talos-obmc-linux-8a65a9485832f90e18e2f7069b75a4181e2840c0.zip
[media] uvcvideo: Connect video devices to media entities
The video devices associated to USB streaming terminals must be connected to their associated terminal's media entity instead of being standalone entities. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvcvideo.h')
-rw-r--r--drivers/media/video/uvc/uvcvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h
index 3906f6ed4061..20107fd3574d 100644
--- a/drivers/media/video/uvc/uvcvideo.h
+++ b/drivers/media/video/uvc/uvcvideo.h
@@ -305,6 +305,7 @@ struct uvc_entity {
char name[64];
/* Media controller-related fields. */
+ struct video_device *vdev;
struct v4l2_subdev subdev;
unsigned int num_pads;
unsigned int num_links;
OpenPOWER on IntegriCloud