summaryrefslogtreecommitdiff
path: root/drivers/media/platform/davinci/vpif_display.h
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-03-08 18:57:24 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 18:12:43 -0300
commite933c6bc67d8129d184d5add4230eb8250646cb8 (patch)
tree675ac5b948388f50d1c08f32d9639c611c65e8bd /drivers/media/platform/davinci/vpif_display.h
parent8eef6669d3d4a9a8694bb6703fb81bd17bb9080e (diff)
[media] media: davinci: vpif_display: embed video_device struct in channel_obj
Embed video_device struct (video_dev) in channel_obj and also the Unregister path doesn't need to free the video_device structure, hence, change the video_device.release callback point to video_device_release_empty. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/davinci/vpif_display.h')
-rw-r--r--drivers/media/platform/davinci/vpif_display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/davinci/vpif_display.h b/drivers/media/platform/davinci/vpif_display.h
index 7b21a7607674..849e0e385f18 100644
--- a/drivers/media/platform/davinci/vpif_display.h
+++ b/drivers/media/platform/davinci/vpif_display.h
@@ -100,7 +100,7 @@ struct common_obj {
struct channel_obj {
/* V4l2 specific parameters */
- struct video_device *video_dev; /* Identifies video device for
+ struct video_device video_dev; /* Identifies video device for
* this channel */
u32 field_id; /* Indicates id of the field
* which is being displayed */