]> git.baikalelectronics.ru Git - kernel.git/commit
[media] i2c: constify v4l2_ctrl_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 13 Nov 2015 22:05:17 +0000 (20:05 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 17:41:33 +0000 (15:41 -0200)
commita9a806cc13115a598351aa64421d4ce0d2c0d2b8
treef32ff085c7f8661ab8be80143498ef5cc03f8a74
parentbe05732ed6518b12827944c89403883ad61a4d55
[media] i2c: constify v4l2_ctrl_ops structures

These v4l2_ctrl_ops structures are never modified, like all the other
v4l2_ctrl_ops structures, so declare them as 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@osg.samsung.com>
drivers/media/i2c/mt9m032.c
drivers/media/i2c/mt9p031.c
drivers/media/i2c/mt9t001.c
drivers/media/i2c/mt9v011.c
drivers/media/i2c/mt9v032.c
drivers/media/i2c/ov2659.c