summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/io_usbvend.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/io_usbvend.h')
-rw-r--r--drivers/usb/serial/io_usbvend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/io_usbvend.h b/drivers/usb/serial/io_usbvend.h
index 51f83fbb73bb..6f6a856bc37c 100644
--- a/drivers/usb/serial/io_usbvend.h
+++ b/drivers/usb/serial/io_usbvend.h
@@ -594,7 +594,7 @@ struct edge_boot_descriptor {
struct ti_i2c_desc {
__u8 Type; // Type of descriptor
- __u16 Size; // Size of data only not including header
+ __le16 Size; // Size of data only not including header
__u8 CheckSum; // Checksum (8 bit sum of data only)
__u8 Data[0]; // Data starts here
} __attribute__((packed));