is_media_entity_v4l2_video_device(9) Check if the entity is a video_device

SYNOPSIS

bool is_media_entity_v4l2_video_device(struct media_entity * entity);

ARGUMENTS

entity

pointer to entity

RETURN

true if the entity is an instance of a video_device object and can safely be cast to a struct video_device using the container_of macro, or false otherwise.

COPYRIGHT