[media] replace all occurrences of MEDIA_ENT_T_DEVNODE_V4L
Now that interfaces and entities are distinct, it makes no sense of keeping something named as MEDIA_ENT_T_DEVNODE. This change was done with this script: for i in $(git grep -l MEDIA_ENT_T|grep -v uapi/linux/media.h); do sed s,MEDIA_ENT_T_DEVNODE_V4L,MEDIA_ENT_T_V4L2_VIDEO, <$i >a && mv a $i; done Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
@@ -193,7 +193,7 @@ static int xvip_pipeline_validate(struct xvip_pipeline *pipe,
|
||||
while ((entity = media_entity_graph_walk_next(&graph))) {
|
||||
struct xvip_dma *dma;
|
||||
|
||||
if (entity->type != MEDIA_ENT_T_DEVNODE_V4L)
|
||||
if (entity->type != MEDIA_ENT_T_V4L2_VIDEO)
|
||||
continue;
|
||||
|
||||
dma = to_xvip_dma(media_entity_to_video_device(entity));
|
||||
|
Reference in New Issue
Block a user