diff options
| author | Daniel Oakley <[email protected]> | 2022-06-16 11:07:47 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-15 14:43:55 +0100 |
| commit | ee8dadd7704810f4319d0b469c59e6812ef0115f (patch) | |
| tree | 3fcfad3a39c2c6739c2bba441f2290e6799b682d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f2e761fdace257dd0411958efedb0e7af043c4f8 (diff) | |
media: vimc: use data link entities enum to index the ent_config array
Future additions to the ent_config[] could break the association between
the index of the struct vimc_ent_config entries in the ent_config[] array,
and the index defined by the enum proposed in the previous patch. Using
designated initializers solves this by linking the 2 together clearly in
code and prevents the array not reflecting the enum. There is no
functional change intended.
Suggested-by: Kieran Bingham <[email protected]>
Signed-off-by: Daniel Oakley <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions