aboutsummaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorSimon Glass2020-05-10 10:26:53 -0600
committerTom Rini2020-05-15 13:53:50 -0400
commit25a838175cb571a27337385d20bd164f0e3603cf (patch)
tree76683b3330c75ab1905af0e63a345d76fcbdb02b /include/usb.h
parent5f09f9af3cc335fe6a74c031cfa0b1d8bdf4b9db (diff)
usb: Update struct usb_device to indicate speed enum
The speed member actually uses an enum, so add this to the comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h
index 22f6088fe66..fa9e09607e2 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -103,7 +103,7 @@ enum {
*/
struct usb_device {
int devnum; /* Device number on USB bus */
- int speed; /* full/low/high */
+ enum usb_device_speed speed; /* full/low/high */
char mf[32]; /* manufacturer */
char prod[32]; /* product */
char serial[32]; /* serial number */