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.hesselba...@gmail.com>
---
To: Sascha Hauer <s.ha...@pengutronix.de>
Cc: barebox@lists.infradead.org
---
 include/usb/ch11.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/usb/ch11.h b/include/usb/ch11.h
index 924a9ea64c5e..93f891aea753 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;
-- 
2.0.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to