media: ov5645: constify v4l2_ctrl_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 27 Oct 2018 12:16:40 +0000 (08:16 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 6 Nov 2018 12:16:38 +0000 (07:16 -0500)
commitd148b85e8b0779b910f3120a1b72e3e105ad2c47
tree2cb842205ced00f3ec048a23f7daad6cf1cef41e
parent35629182eb8f931b0de6ed38c0efac58e922c801
media: ov5645: constify v4l2_ctrl_ops structure

The v4l2_ctrl_ops structure is only passed as the second argument to
functions such as v4l2_ctrl_new_std for which the corresponding
parameter is const, so make the v4l2_ctrl_ops structure const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov5645.c