media: vimc: Constify the ent_config array

The ent_config array contains data that is never modified. Make it
const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Laurent Pinchart 2024-04-25 02:57:35 +03:00 committed by Hans Verkuil
parent 73a4385c69
commit 27d8f61ee9

View File

@ -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