summaryrefslogtreecommitdiff
path: root/src/media.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-12-21 13:00:02 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-04-08 10:32:49 +0200
commit28212f9aa0d44a85818c9a1fdf7e743bf0d69e12 (patch)
tree8ba652898dfd11027a2380c6d7369bede7a89175 /src/media.h
parentb16cbe7bce0fd8d9d940473a2272b6b0148795c3 (diff)
Update to the latest media kernel API
The media kernel API has seen many changes during the review process, update the media-ctl application accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/media.h')
-rw-r--r--src/media.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media.h b/src/media.h
index 80cf976..b91a2ac 100644
--- a/src/media.h
+++ b/src/media.h
@@ -100,7 +100,7 @@ struct media_pad *media_entity_remote_source(struct media_pad *pad);
*/
static inline unsigned int media_entity_type(struct media_entity *entity)
{
- return entity->info.type & MEDIA_ENTITY_TYPE_MASK;
+ return entity->info.type & MEDIA_ENT_TYPE_MASK;
}
/**