From: Laurent Pinchart Date: Wed, 9 Dec 2009 11:40:10 +0000 (-0300) Subject: [media] v4l: Make video_device inherit from media_entity X-Git-Tag: v2.6.39-rc1~86^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c0ab67be1b4197a4effac89bb0604832e38be8d;p=pandora-kernel.git [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 Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed