# \[PATCH\] \[media\] media.h: postpone connectors entities

- Subsystems: MEDIA CONTROLLER FRAMEWORK, MEDIA INPUT INFRASTRUCTURE (V4L/DVB), THE REST
- Maintainers: Sakari Ailus, Laurent Pinchart, Mauro Carvalho Chehab, Linus Torvalds
- List: linux-api
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-api/2016/03/8393478/t

## \[PATCH\] \[media\] media.h: postpone connectors entities

- From: Mauro Carvalho Chehab \<hidden\>
- Date: 2016-03-03 17:54:52 
- Message: https://ratatoskr.run/linux-api/2016/03/8393478.md

```text
The representation of external connections got some heated
discussions recently. As we're too close to the merge window,
let's not set those entities into a stone.

Signed-off-by: Mauro Carvalho Chehab <redacted>
---
 include/uapi/linux/media.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index 13e19a18f97f..323f1af35062 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -82,10 +82,18 @@ struct media_device_info {
  * Connectors
  */
 /* It is a responsibility of the entity drivers to add connectors and links */
+#ifdef __KERNEL__
+	/*
+	 * For now, it should not be used in userspace, as some
+	 * definitions may change
+	 */
+
 #define MEDIA_ENT_F_CONN_RF		(MEDIA_ENT_F_BASE + 0x30001)
 #define MEDIA_ENT_F_CONN_SVIDEO		(MEDIA_ENT_F_BASE + 0x30002)
 #define MEDIA_ENT_F_CONN_COMPOSITE	(MEDIA_ENT_F_BASE + 0x30003)
 
+#endif
+
 /*
  * Don't touch on those. The ranges MEDIA_ENT_F_OLD_BASE and
  * MEDIA_ENT_F_OLD_SUBDEV_BASE are kept to keep backward compatibility
-- 
2.5.0
```
