diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-03-13 20:51:51 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-12 09:46:37 +0200 |
commit | 1f3ba4b8d4bb54cdbe46a372081bdcbc6632c602 (patch) | |
tree | 0c5a0a0d011ca0b600bca16a521a2c69e7701b07 /drivers | |
parent | cde4e5157af3fdb3d8131bc39309e6dae6a7555a (diff) | |
download | linux-stable-1f3ba4b8d4bb54cdbe46a372081bdcbc6632c602.tar.gz linux-stable-1f3ba4b8d4bb54cdbe46a372081bdcbc6632c602.tar.bz2 linux-stable-1f3ba4b8d4bb54cdbe46a372081bdcbc6632c602.zip |
media: rkisp1: Constify rkisp1_v12_params_ops
The rkisp1_v12_params_ops global variable doesn't need to be modified.
Make it const.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/rockchip/rkisp1/rkisp1-params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-params.c b/drivers/media/platform/rockchip/rkisp1/rkisp1-params.c index 8e3dc4966b94..173d1ea41874 100644 --- a/drivers/media/platform/rockchip/rkisp1/rkisp1-params.c +++ b/drivers/media/platform/rockchip/rkisp1/rkisp1-params.c @@ -1726,7 +1726,7 @@ static const struct rkisp1_params_ops rkisp1_v10_params_ops = { .afm_config = rkisp1_afm_config_v10, }; -static struct rkisp1_params_ops rkisp1_v12_params_ops = { +static const struct rkisp1_params_ops rkisp1_v12_params_ops = { .lsc_matrix_config = rkisp1_lsc_matrix_config_v12, .goc_config = rkisp1_goc_config_v12, .awb_meas_config = rkisp1_awb_meas_config_v12, |