media: isif: constify copied structure
The isif_config_defaults structure is only copied into another structure, so make it const. The opportunity for this change was found using Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
e4183df77f
commit
43c85616f6
@ -29,7 +29,7 @@
|
||||
#include "ccdc_hw_device.h"
|
||||
|
||||
/* Defaults for module configuration parameters */
|
||||
static struct isif_config_params_raw isif_config_defaults = {
|
||||
static const struct isif_config_params_raw isif_config_defaults = {
|
||||
.linearize = {
|
||||
.en = 0,
|
||||
.corr_shft = ISIF_NO_SHIFT,
|
||||
|
Reference in New Issue
Block a user