mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
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:
parent
73a4385c69
commit
27d8f61ee9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user