This is an automatic generated email to let you know that the following patch were queued:
Subject: media: vimc: Constify the ent_config array Author: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Date: Thu Apr 25 02:57:35 2024 +0300 The ent_config array contains data that is never modified. Make it const. Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Signed-off-by: Shuah Khan <sk...@linuxfoundation.org> Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> drivers/media/test-drivers/vimc/vimc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/test-drivers/vimc/vimc-core.c b/drivers/media/test-drivers/vimc/vimc-core.c index af127476e920..2083c60e34d6 100644 --- a/drivers/media/test-drivers/vimc/vimc-core.c +++ b/drivers/media/test-drivers/vimc/vimc-core.c @@ -81,7 +81,7 @@ struct vimc_pipeline_config { * Topology Configuration */ -static struct vimc_ent_config ent_config[] = { +static const struct vimc_ent_config ent_config[] = { [SENSOR_A] = { .name = "Sensor A", .type = &vimc_sensor_type