summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/xilinx/xilinx-dma.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-08-31 16:13:34 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 09:14:59 +0200
commit98d79dc34798cb5b3bdbc49cfc17ff63b3044b64 (patch)
treeefe300a4058c741bd1d337ac2b1a28523ccfe701 /drivers/media/platform/xilinx/xilinx-dma.h
parentmedia: drivers: use video device pipeline start/stop (diff)
downloadlinux-98d79dc34798cb5b3bdbc49cfc17ff63b3044b64.tar.xz
linux-98d79dc34798cb5b3bdbc49cfc17ff63b3044b64.zip
media: drivers: use video_device_pipeline()
Use video_device_pipeline() in the drivers instead of media_entity_pipeline(). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/media/platform/xilinx/xilinx-dma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/xilinx/xilinx-dma.h b/drivers/media/platform/xilinx/xilinx-dma.h
index 3ea10f6b0bb9..9c6d4c18d1a9 100644
--- a/drivers/media/platform/xilinx/xilinx-dma.h
+++ b/drivers/media/platform/xilinx/xilinx-dma.h
@@ -45,9 +45,9 @@ struct xvip_pipeline {
struct xvip_dma *output;
};
-static inline struct xvip_pipeline *to_xvip_pipeline(struct media_entity *e)
+static inline struct xvip_pipeline *to_xvip_pipeline(struct video_device *vdev)
{
- struct media_pipeline *pipe = media_entity_pipeline(e);
+ struct media_pipeline *pipe = video_device_pipeline(vdev);
if (!pipe)
return NULL;