Commit 74b20039 authored by Ian Cowan's avatar Ian Cowan Committed by Hans Verkuil
Browse files

staging: media: sunxi: cedrus: make vb2_ops struct definition const



This cleans up a checkstyle warning where the vb2_ops struct definitions
should be const.

Signed-off-by: default avatarIan Cowan <ian@linux.cowan.aero>
Reviewed-by: default avatarSamuel Holland <samuel@sholland.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent a95cc6d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -562,7 +562,7 @@ static void cedrus_buf_request_complete(struct vb2_buffer *vb)
	v4l2_ctrl_request_complete(vb->req_obj.req, &ctx->hdl);
}

static struct vb2_ops cedrus_qops = {
static const struct vb2_ops cedrus_qops = {
	.queue_setup		= cedrus_queue_setup,
	.buf_prepare		= cedrus_buf_prepare,
	.buf_queue		= cedrus_buf_queue,