Commit b15a92f0 authored by Ian Cowan's avatar Ian Cowan Committed by Mauro Carvalho Chehab

media: 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>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 6b8c5e4b
...@@ -562,7 +562,7 @@ static void cedrus_buf_request_complete(struct vb2_buffer *vb) ...@@ -562,7 +562,7 @@ static void cedrus_buf_request_complete(struct vb2_buffer *vb)
v4l2_ctrl_request_complete(vb->req_obj.req, &ctx->hdl); 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, .queue_setup = cedrus_queue_setup,
.buf_prepare = cedrus_buf_prepare, .buf_prepare = cedrus_buf_prepare,
.buf_queue = cedrus_buf_queue, .buf_queue = cedrus_buf_queue,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment