aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/test-drivers/vimc/vimc-common.h
diff options
context:
space:
mode:
authorDaniel Oakley <[email protected]>2022-06-16 11:07:45 +0100
committerMauro Carvalho Chehab <[email protected]>2022-07-15 14:42:14 +0100
commitec917d77c57c0b3499442d2148bc4ca3598a5e8a (patch)
tree83d9a198f43344bb47839daea7ea5640bd9f928a /drivers/media/test-drivers/vimc/vimc-common.h
parentd534b9520a128d20d81d6dcf95441e806bdeb20f (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.h10
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