mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
media: visl: make visl_qops static
This struct can be static. This fixes a sparse warning: visl-video.c:690:22: warning: symbol 'visl_qops' was not declared. Should it be static? Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: Daniel Almeida <daniel.almeida@collabora.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
738dfb32f1
commit
b6a1af0362
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ static void visl_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);
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct vb2_ops visl_qops = {
|
static const struct vb2_ops visl_qops = {
|
||||||
.queue_setup = visl_queue_setup,
|
.queue_setup = visl_queue_setup,
|
||||||
.buf_out_validate = visl_buf_out_validate,
|
.buf_out_validate = visl_buf_out_validate,
|
||||||
.buf_prepare = visl_buf_prepare,
|
.buf_prepare = visl_buf_prepare,
|
||||||
|
|
Loading…
Reference in a new issue