diff mbox series

[v4l-utils,1/3] v4l-utils: Add MEDIA_LNK_FL_ANCILLARY_LINK macro

Message ID 20211213234258.41411-2-djrscally@gmail.com
State New
Headers show
Series [v4l-utils,1/3] v4l-utils: Add MEDIA_LNK_FL_ANCILLARY_LINK macro | expand

Commit Message

Daniel Scally Dec. 13, 2021, 11:42 p.m. UTC
Add a macro to describe the new type of media link in the kernel.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
---
 include/linux/media.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/media.h b/include/linux/media.h
index 17432318..e3123d1a 100644
--- a/include/linux/media.h
+++ b/include/linux/media.h
@@ -222,6 +222,7 @@  struct media_pad_desc {
 #define MEDIA_LNK_FL_LINK_TYPE			(0xf << 28)
 #  define MEDIA_LNK_FL_DATA_LINK		(0 << 28)
 #  define MEDIA_LNK_FL_INTERFACE_LINK		(1 << 28)
+#  define MEDIA_LNK_FL_ANCILLARY_LINK		(2 << 28)
 
 struct media_link_desc {
 	struct media_pad_desc source;