aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/media.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index d847c760e8f0..418f4fec391a 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -78,6 +78,20 @@ struct media_entity_desc {
78 struct { 78 struct {
79 __u32 major; 79 __u32 major;
80 __u32 minor; 80 __u32 minor;
81 } dev;
82
83#if 1
84 /*
85 * DEPRECATED: previous node specifications. Kept just to
86 * avoid breaking compilation, but media_entity_desc.dev
87 * should be used instead. In particular, alsa and dvb
88 * fields below are wrong: for all devnodes, there should
89 * be just major/minor inside the struct, as this is enough
90 * to represent any devnode, no matter what type.
91 */
92 struct {
93 __u32 major;
94 __u32 minor;
81 } v4l; 95 } v4l;
82 struct { 96 struct {
83 __u32 major; 97 __u32 major;
@@ -89,6 +103,7 @@ struct media_entity_desc {
89 __u32 subdevice; 103 __u32 subdevice;
90 } alsa; 104 } alsa;
91 int dvb; 105 int dvb;
106#endif
92 107
93 /* Sub-device specifications */ 108 /* Sub-device specifications */
94 /* Nothing needed yet */ 109 /* Nothing needed yet */