diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/media.h | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 52cc2a6b19b7..4e816be3de39 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h | |||
| @@ -91,6 +91,27 @@ struct media_entity_desc { | |||
| 91 | 91 | ||
| 92 | #if 1 | 92 | #if 1 |
| 93 | /* | 93 | /* |
| 94 | * TODO: this shouldn't have been added without | ||
| 95 | * actual drivers that use this. When the first real driver | ||
| 96 | * appears that sets this information, special attention | ||
| 97 | * should be given whether this information is 1) enough, and | ||
| 98 | * 2) can deal with udev rules that rename devices. The struct | ||
| 99 | * dev would not be sufficient for this since that does not | ||
| 100 | * contain the subdevice information. In addition, struct dev | ||
| 101 | * can only refer to a single device, and not to multiple (e.g. | ||
| 102 | * pcm and mixer devices). | ||
| 103 | * | ||
| 104 | * So for now mark this as a to do. | ||
| 105 | */ | ||
| 106 | struct { | ||
| 107 | __u32 card; | ||
| 108 | __u32 device; | ||
| 109 | __u32 subdevice; | ||
| 110 | } alsa; | ||
| 111 | #endif | ||
| 112 | |||
| 113 | #if 1 | ||
| 114 | /* | ||
| 94 | * DEPRECATED: previous node specifications. Kept just to | 115 | * DEPRECATED: previous node specifications. Kept just to |
| 95 | * avoid breaking compilation, but media_entity_desc.dev | 116 | * avoid breaking compilation, but media_entity_desc.dev |
| 96 | * should be used instead. In particular, alsa and dvb | 117 | * should be used instead. In particular, alsa and dvb |
| @@ -106,11 +127,6 @@ struct media_entity_desc { | |||
| 106 | __u32 major; | 127 | __u32 major; |
| 107 | __u32 minor; | 128 | __u32 minor; |
| 108 | } fb; | 129 | } fb; |
| 109 | struct { | ||
| 110 | __u32 card; | ||
| 111 | __u32 device; | ||
| 112 | __u32 subdevice; | ||
| 113 | } alsa; | ||
| 114 | int dvb; | 130 | int dvb; |
| 115 | #endif | 131 | #endif |
| 116 | 132 | ||
