diff options
author | Daniel Oakley <[email protected]> | 2022-06-16 11:07:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-15 14:42:14 +0100 |
commit | ec917d77c57c0b3499442d2148bc4ca3598a5e8a (patch) | |
tree | 83d9a198f43344bb47839daea7ea5640bd9f928a /drivers/media/test-drivers/vimc/vimc-common.h | |
parent | d534b9520a128d20d81d6dcf95441e806bdeb20f (diff) |
media: vimc: expand the names of vimc entity types
When introducing the lens controller, it became apparent that the vimc
entity type names were hard to understand, e.g. vimc_len_type refers to the
lens. The names of the vimc entity types have been expanded to make the
code easier to understand. 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 'drivers/media/test-drivers/vimc/vimc-common.h')
-rw-r--r-- | drivers/media/test-drivers/vimc/vimc-common.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/test-drivers/vimc/vimc-common.h b/drivers/media/test-drivers/vimc/vimc-common.h index 37f6b687ce10..7641a101a728 100644 --- a/drivers/media/test-drivers/vimc/vimc-common.h +++ b/drivers/media/test-drivers/vimc/vimc-common.h @@ -167,11 +167,11 @@ struct vimc_ent_config { */ bool vimc_is_source(struct media_entity *ent); -extern struct vimc_ent_type vimc_sen_type; -extern struct vimc_ent_type vimc_deb_type; -extern struct vimc_ent_type vimc_sca_type; -extern struct vimc_ent_type vimc_cap_type; -extern struct vimc_ent_type vimc_len_type; +extern struct vimc_ent_type vimc_sensor_type; +extern struct vimc_ent_type vimc_debayer_type; +extern struct vimc_ent_type vimc_scaler_type; +extern struct vimc_ent_type vimc_capture_type; +extern struct vimc_ent_type vimc_lens_type; /** * vimc_pix_map_by_index - get vimc_pix_map struct by its index |