summaryrefslogtreecommitdiff
path: root/drivers/media/platform/davinci/vpif_display.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-20 16:06:31 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-06 05:09:07 +0400
commit882084ad0f9791f2e8386ba3f9f3836f0c3e9fa6 (patch)
tree5980e637008480d2a77795c7ba8bf2cc73f36f16 /drivers/media/platform/davinci/vpif_display.h
parent178cce1262762b636bcde6685a014c70640b15cc (diff)
downloadlinux-882084ad0f9791f2e8386ba3f9f3836f0c3e9fa6.tar.xz
[media] vpif_display: use a v4l2_subdev pointer to call a subdev
This makes it easier to have outputs without subdevs. This needs more work. The way the outputs are configured should be identical to how inputs are configured. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com> Tested-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/davinci/vpif_display.h')
-rw-r--r--drivers/media/platform/davinci/vpif_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/davinci/vpif_display.h b/drivers/media/platform/davinci/vpif_display.h
index 532ee9e8ce38..a5a18f74395c 100644
--- a/drivers/media/platform/davinci/vpif_display.h
+++ b/drivers/media/platform/davinci/vpif_display.h
@@ -125,6 +125,7 @@ struct channel_obj {
u8 initialized; /* flag to indicate whether
* encoder is initialized */
u32 output_idx; /* Current output index */
+ struct v4l2_subdev *sd; /* Current output subdev(may be NULL) */
enum vpif_channel_id channel_id;/* Identifies channel */
struct vpif_params vpifparams;