summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-12-20 00:17:10 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-12-20 00:17:10 -0800
commit46624aa39077c1d8a7d05550e81c4f0674ead48e (patch)
treebd908a393348ddcf0dfe872af1e298491f1d37d7 /include
parentb9efd2edd9c2523c6eac512c442197b87178d717 (diff)
USB: change wTotalLength field in struct usb_config_descriptor to be __le16
Another step in the quest to get all USB data structures to be native endian. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb_ch9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb_ch9.h b/include/linux/usb_ch9.h
index e796edb6515a..d13b47bafcae 100644
--- a/include/linux/usb_ch9.h
+++ b/include/linux/usb_ch9.h
@@ -208,7 +208,7 @@ struct usb_config_descriptor {
__u8 bLength;
__u8 bDescriptorType;
- __u16 wTotalLength;
+ __le16 wTotalLength;
__u8 bNumInterfaces;
__u8 bConfigurationValue;
__u8 iConfiguration;