V4L/DVB: v4l: Add a v4l2_subdev host private data field
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 30 Jul 2010 20:24:55 +0000 (17:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:04:52 +0000 (01:04 -0200)
commit692d5522646fdf432329efbe5092dc9c5ca83e85
treeb68da8aa39f3acd1098ed6c7129e6ccebcf44cb0
parentc4ce6d14b92aa1772c9d84d068d1b45114fe73cc
V4L/DVB: v4l: Add a v4l2_subdev host private data field

The existing priv field stores subdev private data owned by the subdev
driver. Host (bridge) drivers might need to store per-subdev
host-specific data, such as a pointer to platform data.

Add a v4l2_subdev host_priv field to store host-specific data, and
rename the existing priv field to dev_priv.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-framework.txt
include/media/v4l2-subdev.h