summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_video.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-07-28 20:05:56 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-19 13:49:18 +0300
commitb6af10cdd6bffb457839e0892531ed14afb6a9a6 (patch)
treee702a8e5877cec4d20677e5b9d7156dda0996280 /drivers/media/platform/vsp1/vsp1_video.h
parent86960eec4d4b4557fe37021decdf4265213d3882 (diff)
downloadlinux-b6af10cdd6bffb457839e0892531ed14afb6a9a6.tar.xz
[media] v4l: vsp1: Move video operations to vsp1_rwpf
This removes the dependency of vsp1_rpf and vsp1_wpf on vsp1_video, making it possible to reuse the operations without a V4L2 video device node. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_video.h')
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.h b/drivers/media/platform/vsp1/vsp1_video.h
index 56d0e7bd4327..72be847f2df9 100644
--- a/drivers/media/platform/vsp1/vsp1_video.h
+++ b/drivers/media/platform/vsp1/vsp1_video.h
@@ -108,16 +108,10 @@ to_vsp1_video_buffer(struct vb2_v4l2_buffer *vbuf)
return container_of(vbuf, struct vsp1_video_buffer, buf);
}
-struct vsp1_video_operations {
- void (*queue)(struct vsp1_video *video, struct vsp1_video_buffer *buf);
-};
-
struct vsp1_video {
struct vsp1_device *vsp1;
struct vsp1_rwpf *rwpf;
- const struct vsp1_video_operations *ops;
-
struct video_device video;
enum v4l2_buf_type type;
struct media_pad pad;