summaryrefslogtreecommitdiff
path: root/media.h
diff options
context:
space:
mode:
Diffstat (limited to 'media.h')
-rw-r--r--media.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media.h b/media.h
index 7dbcc1c..bd8162d 100644
--- a/media.h
+++ b/media.h
@@ -56,6 +56,8 @@ struct media_entity_pad *media_entity_remote_pad(struct media_entity_pad *pad);
struct media_entity *media_get_entity_by_name(struct media_device *media,
const char *name, size_t length);
+struct media_entity *media_get_entity_by_id(struct media_device *media,
+ __u32 id);
void media_print_topology(struct media_device *media, int dot);
int media_setup_link(struct media_device *media,
struct media_entity_pad *source, struct media_entity_pad *sink,