summaryrefslogtreecommitdiff
path: root/drivers/media/platform/davinci/vpif_display.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-02-15 18:09:10 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 20:39:21 +0300
commit53ddcc683faef8c730c7162fa1ef2261a385d16d (patch)
tree657e3cbb9136b0bee5ef6680137067c15e4fb6b7 /drivers/media/platform/davinci/vpif_display.h
parent57813da417f9c9aff1299a24182f590deac08c19 (diff)
downloadlinux-53ddcc683faef8c730c7162fa1ef2261a385d16d.tar.xz
[media] media/platform: convert drivers to use the new vb2_queue dev field
Stop using alloc_ctx and just fill in the device pointer. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Cc: Scott Jiang <scott.jiang.linux@gmail.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/davinci/vpif_display.h')
-rw-r--r--drivers/media/platform/davinci/vpif_display.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/davinci/vpif_display.h b/drivers/media/platform/davinci/vpif_display.h
index e7a1723a1b7a..af2765fdcea8 100644
--- a/drivers/media/platform/davinci/vpif_display.h
+++ b/drivers/media/platform/davinci/vpif_display.h
@@ -74,8 +74,6 @@ struct common_obj {
struct v4l2_format fmt; /* Used to store the format */
struct vb2_queue buffer_queue; /* Buffer queue used in
* video-buf */
- /* allocator-specific contexts for each plane */
- struct vb2_alloc_ctx *alloc_ctx;
struct list_head dma_queue; /* Queue of filled frames */
spinlock_t irqlock; /* Used in video-buf */