diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h index 29e9c7aa9c66..f279394aafb0 100644 --- a/include/uapi/linux/usb/functionfs.h +++ b/include/uapi/linux/usb/functionfs.h @@ -27,6 +27,11 @@ struct usb_endpoint_descriptor_no_audio { __u8 bInterval; } __attribute__((packed)); + +/* + * All numbers must be in little endian order. + */ + /* Legacy format, deprecated as of 3.14. */ struct usb_functionfs_descs_head { __le32 magic; @@ -35,17 +40,6 @@ struct usb_functionfs_descs_head { __le32 hs_count; } __attribute__((packed, deprecated)); -/* - * All numbers must be in little endian order. - */ - -struct usb_functionfs_descs_head { - __le32 magic; - __le32 length; - __le32 fs_count; - __le32 hs_count; -} __attribute__((packed)); - /* * Descriptors format: *