commit 477c6d345604 ("backports: add USB_CDC_MBIM_EXTENDED_TYPE if needed") added define but the structure definition that goes with it is also needed. As they were introduced in the same kernel version we can add the structure with the same #ifndef USB_CDC_MBIM_EXTENDED_TYPE. Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> --- backport/backport-include/linux/usb/cdc.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/backport/backport-include/linux/usb/cdc.h b/backport/backport-include/linux/usb/cdc.h index 2097949..5ad31bf 100644 --- a/backport/backport-include/linux/usb/cdc.h +++ b/backport/backport-include/linux/usb/cdc.h @@ -15,6 +15,17 @@ #ifndef USB_CDC_MBIM_EXTENDED_TYPE #define USB_CDC_MBIM_EXTENDED_TYPE 0x1c + +/* "MBIM Extended Functional Descriptor" from CDC MBIM spec 1.0 errata-1 */ +struct usb_cdc_mbim_extended_desc { + __u8 bLength; + __u8 bDescriptorType; + __u8 bDescriptorSubType; + + __le16 bcdMBIMExtendedVersion; + __u8 bMaxOutstandingCommandMessages; + __le16 wMTU; +} __attribute__ ((packed)); #endif /* -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in