projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f09f9a
)
usb: Update struct usb_device to indicate speed enum
author
Simon Glass
<sjg@chromium.org>
Sun, 10 May 2020 16:26:53 +0000
(10:26 -0600)
committer
Tom Rini
<trini@konsulko.com>
Fri, 15 May 2020 17:53:50 +0000
(13:53 -0400)
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>
include/usb.h
patch
|
blob
|
history
diff --git
a/include/usb.h
b/include/usb.h
index 22f6088fe66afc8a63dc5533aa2fd2926cb4afee..fa9e09607e2c614ea06265ea67f51b6c040e22d3 100644
(file)
--- 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 */