media: pxa_camera: constify v4l2_clk_ops structure
commit2c1630c66b3bcce2e3da530f9a692e548678203a
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 14 Aug 2017 05:58:37 +0000 (14 01:58 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:05:31 +0000 (20 08:05 -0400)
tree4bb7c1a7e1453c23c479bc7e0d0d4a9b0abfc40a
parent8728bddf4bf591517bc1c36854ce0fcb94392fa4
media: pxa_camera: constify v4l2_clk_ops structure

This v4l2_clk_ops structure is only passed as the first argument of
v4l2_clk_register, which is const, so the v4l2_clk_ops structure can
also be const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/pxa_camera.c