]> git.baikalelectronics.ru Git - kernel.git/commit
[media] soc_camera: constify v4l2_subdev_sensor_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 22 Nov 2015 09:12:56 +0000 (07:12 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 10:57:26 +0000 (08:57 -0200)
commit7d6766a624059753700167a9fb9d87f4149e42db
tree8ee08400c601d2a5dff6965cc37e41418adde1a4
parentdc7ec297f5d954b5be8199824deb2164ce4f9024
[media] soc_camera: constify v4l2_subdev_sensor_ops structures

The v4l2_subdev_sensor_ops structures are never modified, so declare them
as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/soc_camera/mt9m001.c
drivers/media/i2c/soc_camera/mt9t031.c
drivers/media/i2c/soc_camera/mt9v022.c