media: rockchip: rkisp1: Constify static structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Thu, 19 Nov 2020 22:18:49 +0000 (23:18 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 06:26:30 +0000 (07:26 +0100)
commita109073bb9ec69ed9ec6eb541485e1dae63c13b4
treec81eb5512241eb6c5a0c92904ae57be1e08ad580
parent1ed36ecd1459b653cced8929bfb37dba94b64c5d
media: rockchip: rkisp1: Constify static structs

These 'ops' structs are never modified, so make them const to allow the
compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
drivers/media/platform/rockchip/rkisp1/rkisp1-common.h
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c