]> git.baikalelectronics.ru Git - kernel.git/commit
media: video-i2c: hwmon: constify vb2_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 30 Oct 2018 15:31:22 +0000 (11:31 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 09:34:13 +0000 (04:34 -0500)
commit946cde141602a16a197c67dba889d87dec877db6
treedf0801c5fefd1e3a754563bc7876812efa7e7d12
parent56c25fedf4c37142d666823e230f5d18c8f20bdb
media: video-i2c: hwmon: constify vb2_ops structure

The vb2_ops structure can be const as it is only stored in the ops
field of a vb2_queue structure and this field is const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/video-i2c.c