summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2014-07-23 15:51:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-24 08:57:57 +0200
commitf4e7910195cd31bb8099ee0aef84efe8fb4ca25f (patch)
treea75f060e3df4f0d8f90ad9c13241f742e43e5aab
parent73476de0e04f6dd8d136295471bcab5fe6894a2a (diff)
downloadbarebox-f4e7910195cd31bb8099ee0aef84efe8fb4ca25f.tar.gz
USB: fixup usb_hub_descriptor length name
All other descriptors have their length field named bLength, except imported usb_hub_descriptor from Linux uses bDescLength. Adjust the name to match the others. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/usb/ch11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/ch11.h b/include/usb/ch11.h
index 924a9ea..93f891a 100644
--- a/include/usb/ch11.h
+++ b/include/usb/ch11.h
@@ -232,7 +232,7 @@ struct usb_hub_status {
#define USB_HUB_PR_SS 3 /* Super speed hub */
struct usb_hub_descriptor {
- __u8 bDescLength;
+ __u8 bLength;
__u8 bDescriptorType;
__u8 bNbrPorts;
__le16 wHubCharacteristics;