mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 09:32:32 +00:00
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: Ian Cowan <ian@linux.cowan.aero> Reviewed-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
6b8c5e4bec
commit
b15a92f054
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user