linux/drivers/media/platform/vicodec
Julia Lawall 299553d88e media: vicodec: constify v4l2_ctrl_ops structure
The v4l2_ctrl_ops structure is only stored in the ops field of a
v4l2_ctrl_config structure, and this field is const, or passed as the
second argument of v4l2_ctrl_new_std, and the corresponding parameter
is declared as const.  Accordingly, the 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+samsung@kernel.org>
2018-11-23 06:03:33 -05:00
..
codec-fwht.c media: vicodec: Add support for 4 planes formats 2018-11-23 04:34:32 -05:00
codec-fwht.h media: vicodec: Add support for 4 planes formats 2018-11-23 04:34:32 -05:00
codec-v4l2-fwht.c media: vicodec: Add support for 4 planes formats 2018-11-23 04:34:32 -05:00
codec-v4l2-fwht.h media: vicodec: prepare support for various number of planes 2018-11-23 04:34:27 -05:00
Kconfig media: vicodec: Drop unneeded symbol dependency 2018-09-24 09:13:13 -04:00
Makefile media: vicodec: split off v4l2 specific parts for the codec 2018-08-31 08:29:13 -04:00
vicodec-core.c media: vicodec: constify v4l2_ctrl_ops structure 2018-11-23 06:03:33 -05:00