summaryrefslogtreecommitdiff
path: root/src/mediactl.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2011-10-07 18:38:06 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-08 13:31:21 +0200
commit879982243998d6ebf7e7ac4e79b2cfc7371aeda2 (patch)
treee48903676032278519ea50dd349eb0d3a71a09e4 /src/mediactl.h
parent5dd608d0449e55b362fd39935d432b2b6c17f109 (diff)
Add link to media_device from the media_entity
This makes it possible to obtain the media device an entity belongs to. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/mediactl.h')
-rw-r--r--src/mediactl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mediactl.h b/src/mediactl.h
index 65ad890..fbd7813 100644
--- a/src/mediactl.h
+++ b/src/mediactl.h
@@ -38,6 +38,7 @@ struct media_pad {
};
struct media_entity {
+ struct media_device *media;
struct media_entity_desc info;
struct media_pad *pads;
struct media_link *links;