summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-sensor.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2018-10-27 08:16:39 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-23 06:03:33 -0500
commit299553d88e2d48bbc91dfaba4a1d7bf5a93ef528 (patch)
tree218353632926968d503f9e43ee7f011c1c2a2e95 /drivers/media/platform/vimc/vimc-sensor.c
parent2e9a2ec53cd6e93b5b7f6d15a4cc6bdb4ba82488 (diff)
downloadlinux-299553d88e2d48bbc91dfaba4a1d7bf5a93ef528.tar.bz2
media: vicodec: constify v4l2_ctrl_ops structure
The v4l2_ctrl_ops structure is only stored in the ops field of a v4l2_ctrl_config structure, and this field is const, or passed as the second argument of v4l2_ctrl_new_std, and the corresponding parameter is declared as const. Accordingly, the structure can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions