# \[PATCH 06/31\] media: Media Controller export non locking \_\_media\_entity\_setup\_link()

- From: Shuah Khan \<hidden\>
- Date: 2016-01-06 20:37:37 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2016/01/4654321
- Thread: https://ratatoskr.run/linux-media/2016/01/4654313/t.md

```text
Export __media_entity_setup_link() to be used from code paths that hold
the graph_mutex.

Signed-off-by: Shuah Khan <redacted>
---
 drivers/media/media-entity.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index 78486a9..b8769aa 100644
--- a/drivers/media/media-entity.c
+++ b/drivers/media/media-entity.c
@@ -736,6 +736,7 @@ int __media_entity_setup_link(struct media_link *link, u32 flags)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(__media_entity_setup_link);
 
 int media_entity_setup_link(struct media_link *link, u32 flags)
 {
-- 
2.5.0
```
