X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fusb_ch9.h;h=c1aa8d8f67ced1cfa85b4db19a7c68dc697d3a15;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=2a9e19b10c648f0f7ce911df57b7a8f4eb621660;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/linux/usb_ch9.h b/include/linux/usb_ch9.h index 2a9e19b10..c1aa8d8f6 100644 --- a/include/linux/usb_ch9.h +++ b/include/linux/usb_ch9.h @@ -103,9 +103,9 @@ struct usb_ctrlrequest { __u8 bRequestType; __u8 bRequest; - __u16 wValue; - __u16 wIndex; - __u16 wLength; + __le16 wValue; + __le16 wIndex; + __le16 wLength; } __attribute__ ((packed)); /*-------------------------------------------------------------------------*/ @@ -230,7 +230,7 @@ struct usb_string_descriptor { __u8 bLength; __u8 bDescriptorType; - __u16 wData[1]; /* UTF-16LE encoded */ + __le16 wData[1]; /* UTF-16LE encoded */ } __attribute__ ((packed)); /* note that "string" zero is special, it holds language codes that