summaryrefslogtreecommitdiff
path: root/drivers/media/platform/xilinx/xilinx-dma.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-02-15 13:24:11 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 14:40:07 -0300
commitdce57314b53760b6f9190c98287ce8f89c80d233 (patch)
tree073ec63d99ac161ef64d4308efbc85e9448f129d /drivers/media/platform/xilinx/xilinx-dma.h
parent53ddcc683faef8c730c7162fa1ef2261a385d16d (diff)
downloadlwn-dce57314b53760b6f9190c98287ce8f89c80d233.tar.gz
lwn-dce57314b53760b6f9190c98287ce8f89c80d233.zip
[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: Fabien Dessenne <fabien.dessenne@st.com> Acked-by: Benoit Parrot <bparrot@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/xilinx/xilinx-dma.h')
-rw-r--r--drivers/media/platform/xilinx/xilinx-dma.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/xilinx/xilinx-dma.h b/drivers/media/platform/xilinx/xilinx-dma.h
index 7a1621a2ef40..e95d136c153a 100644
--- a/drivers/media/platform/xilinx/xilinx-dma.h
+++ b/drivers/media/platform/xilinx/xilinx-dma.h
@@ -65,7 +65,6 @@ static inline struct xvip_pipeline *to_xvip_pipeline(struct media_entity *e)
* @format: active V4L2 pixel format
* @fmtinfo: format information corresponding to the active @format
* @queue: vb2 buffers queue
- * @alloc_ctx: allocation context for the vb2 @queue
* @sequence: V4L2 buffers sequence number
* @queued_bufs: list of queued buffers
* @queued_lock: protects the buf_queued list
@@ -88,7 +87,6 @@ struct xvip_dma {
const struct xvip_video_format *fmtinfo;
struct vb2_queue queue;
- void *alloc_ctx;
unsigned int sequence;
struct list_head queued_bufs;