]> 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)
commitc5a65a537c138d87c21aad09f98a634d9bdb0c62
tree8ee08400c601d2a5dff6965cc37e41418adde1a4
parentd4fd4c2693d3d58e9b01ebbfd6221fd6277be1cf
[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