summaryrefslogtreecommitdiff
path: root/media.c
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2011-01-25 17:46:40 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-07 15:31:19 +0100
commit9a244f7792d81a39b0240d5d4ee50e6452b7ce8e (patch)
tree0d035b3e8aa3a7e1afdf25955acfcc5f07fdcccc /media.c
parent0c37eafbbcd3170992858f265a10a5f4f23736dd (diff)
Add media_entity_type() to media.h and make it inline.
Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
Diffstat (limited to 'media.c')
-rw-r--r--media.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/media.c b/media.c
index d5d98de..9974ae1 100644
--- a/media.c
+++ b/media.c
@@ -35,11 +35,6 @@
#include "subdev.h"
#include "tools.h"
-static unsigned int media_entity_type(struct media_entity *entity)
-{
- return entity->info.type & MEDIA_ENTITY_TYPE_MASK;
-}
-
static const char *media_entity_type_to_string(unsigned type)
{
static const struct {