media: mt9v111: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:24 +0000 (08:43 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 23 Jan 2020 14:48:05 +0000 (15:48 +0100)
commita03003c528e6996b90de5b60ee2864565a917186
treee08af03d61a6eedfef0bc4956ed176941d583a59
parent29951078bb5be1f2105c2841a4ac119f1b81531b
media: mt9v111: constify copied structure

The mt9v111_def_fmt structure is only copied into another structure,
so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/mt9v111.c