diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2017-08-08 06:58:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 08:32:31 -0400 |
commit | 392296208b952dfa486cfa44db72587efd960714 (patch) | |
tree | 617556b30758fdc840d6f81632980bfd04afbd78 /drivers/Kconfig | |
parent | a828d818bf6f48e1f594a19df0594af9065dc5dc (diff) | |
download | linux-392296208b952dfa486cfa44db72587efd960714.tar.gz |
media: mt9m111: 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>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions