From: Simon Glass Date: Sun, 10 May 2020 16:26:53 +0000 (-0600) Subject: usb: Update struct usb_device to indicate speed enum X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=25a838175cb571a27337385d20bd164f0e3603cf;p=u-boot.git 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 Reviewed-by: Marek Vasut --- diff --git a/include/usb.h b/include/usb.h index 22f6088fe6..fa9e09607e 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 */