summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2015-12-16 11:32:37 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 12:19:22 -0200
commit0798ce4a386d605af9ddbed724a8f4c8cccc1dab (patch)
tree25c124ba2fd95b0df564aaaf485711e3fb24c00d /include
parent030e89ecab55b6e105e19fa830a7a7160237f19a (diff)
downloadlinux-0798ce4a386d605af9ddbed724a8f4c8cccc1dab.tar.bz2
[media] media: Move MEDIA_ENTITY_MAX_PADS from media-entity.h to media-entity.c
This isn't really a part of any interface drivers are expected to use. In order to keep drivers from using it, hide it in media-entity.c. This was always an arbitrary number and should be removed in the long run. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/media-entity.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index 4d963a3684c9..f915ed62ac81 100644
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -73,13 +73,6 @@ struct media_gobj {
#define MEDIA_ENTITY_ENUM_MAX_DEPTH 16
-/*
- * The number of pads can't be bigger than the number of entities,
- * as the worse-case scenario is to have one entity linked up to
- * 63 entities.
- */
-#define MEDIA_ENTITY_MAX_PADS 63
-
/**
* struct media_entity_enum - An enumeration of media entities.
*