diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/usb/functionfs.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h index ecb3a31f7ca6..24b68c59dcf8 100644 --- a/include/uapi/linux/usb/functionfs.h +++ b/include/uapi/linux/usb/functionfs.h | |||
| @@ -33,6 +33,13 @@ struct usb_endpoint_descriptor_no_audio { | |||
| 33 | __u8 bInterval; | 33 | __u8 bInterval; |
| 34 | } __attribute__((packed)); | 34 | } __attribute__((packed)); |
| 35 | 35 | ||
| 36 | /* Legacy format, deprecated as of 3.14. */ | ||
| 37 | struct usb_functionfs_descs_head { | ||
| 38 | __le32 magic; | ||
| 39 | __le32 length; | ||
| 40 | __le32 fs_count; | ||
| 41 | __le32 hs_count; | ||
| 42 | } __attribute__((packed, deprecated)); | ||
| 36 | 43 | ||
| 37 | /* | 44 | /* |
| 38 | * Descriptors format: | 45 | * Descriptors format: |
| @@ -53,7 +60,7 @@ struct usb_endpoint_descriptor_no_audio { | |||
| 53 | * structure. Any flags that are not recognised cause the whole block to be | 60 | * structure. Any flags that are not recognised cause the whole block to be |
| 54 | * rejected with -ENOSYS. | 61 | * rejected with -ENOSYS. |
| 55 | * | 62 | * |
| 56 | * Legacy descriptors format (deprecated as of 3.14): | 63 | * Legacy descriptors format: |
| 57 | * | 64 | * |
| 58 | * | off | name | type | description | | 65 | * | off | name | type | description | |
| 59 | * |-----+-----------+--------------+--------------------------------------| | 66 | * |-----+-----------+--------------+--------------------------------------| |
