summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/mt9m111.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2017-08-08 06:58:27 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 08:32:00 -0400
commita828d818bf6f48e1f594a19df0594af9065dc5dc (patch)
treede065d78e08fdd92e4aba6f3ce74c0a6a64586cf /drivers/media/i2c/mt9m111.c
parentf14253818a7aa096f1f3a650b2d5b73612fbd46f (diff)
media: v4l: mt9t001: constify video_subdev structures
The v4l2_subdev_ops structure is only passed as the third argument of v4l2_i2c_subdev_init, which is const, so the v4l2_subdev_ops structure can be const as well. The other structures are only stored in the v4l2_subdev_ops structure, all the fields of which are const, so these structures can also be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/mt9m111.c')
0 files changed, 0 insertions, 0 deletions