summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-21 01:05:21 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-21 01:05:21 +0000
commit77979532cf260986b996444ebf7a9a8ed7e79b5a (patch)
treebb41fbf5d2f0d422d3bf3331039e32c386924129 /sys/dev/usb/controller
parent6493599dffcf59452030c317e21e1777f4087498 (diff)
downloadFreeBSD-src-77979532cf260986b996444ebf7a9a8ed7e79b5a.zip
FreeBSD-src-77979532cf260986b996444ebf7a9a8ed7e79b5a.tar.gz
Use enums for speed and rev data types.
Diffstat (limited to 'sys/dev/usb/controller')
-rw-r--r--sys/dev/usb/controller/usb_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c
index cf30051..66ea172 100644
--- a/sys/dev/usb/controller/usb_controller.c
+++ b/sys/dev/usb/controller/usb_controller.c
@@ -290,7 +290,7 @@ usb2_bus_attach(struct usb2_proc_msg *pm)
struct usb2_device *child;
device_t dev;
usb2_error_t err;
- uint8_t speed;
+ enum usb_dev_speed speed;
bus = ((struct usb2_bus_msg *)pm)->bus;
dev = bus->bdev;
OpenPOWER on IntegriCloud