OSDN Git Service

media: exynos4-is: constify video_subdev structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 8 Aug 2017 10:58:31 +0000 (06:58 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:04:35 +0000 (08:04 -0400)
commita3b215ea6000c108133784702e24d0b79d4d7a01
treec2ddf2b4ebd2af21845f9b13cd6c3bd84e7f0cd8
parentebf7a6488eed7544dc53c757133663a465bb812d
media: exynos4-is: constify video_subdev structures

The v4l2_subdev_ops structures are only passed as the second
argument of v4l2_subdev_init, which is const, so the
v4l2_subdev_ops structures can be const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos4-is/fimc-isp.c
drivers/media/platform/exynos4-is/fimc-lite.c