mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
030e89ecab
commit
0798ce4a38
2 changed files with 5 additions and 7 deletions
|
|
@ -276,6 +276,11 @@ static struct media_entity *stack_pop(struct media_entity_graph *graph)
|
|||
#define link_top(en) ((en)->stack[(en)->top].link)
|
||||
#define stack_top(en) ((en)->stack[(en)->top].entity)
|
||||
|
||||
/*
|
||||
* TODO: Get rid of this.
|
||||
*/
|
||||
#define MEDIA_ENTITY_MAX_PADS 63
|
||||
|
||||
/**
|
||||
* media_entity_graph_walk_init - Allocate resources for graph walk
|
||||
* @graph: Media graph structure that will be used to walk the graph
|
||||
|
|
|
|||
Loading…
Reference in a new issue