diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-21 00:04:17 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-21 00:04:17 +0000 |
commit | 6493599dffcf59452030c317e21e1777f4087498 (patch) | |
tree | 3eff09d6b64c2439f2bb8e9d4a3aad08d336b07d /sys/dev/usb/serial/umct.c | |
parent | b9afde5728c1d132c1a6fcaf299551d590daed53 (diff) | |
download | FreeBSD-src-6493599dffcf59452030c317e21e1777f4087498.zip FreeBSD-src-6493599dffcf59452030c317e21e1777f4087498.tar.gz |
- rename usb2_mode to usb_mode [1]
- change variable types to use the enum
Submitted by: Hans Petter Selasky [1]
Diffstat (limited to 'sys/dev/usb/serial/umct.c')
-rw-r--r-- | sys/dev/usb/serial/umct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/serial/umct.c b/sys/dev/usb/serial/umct.c index db3ddb4..2b3faac 100644 --- a/sys/dev/usb/serial/umct.c +++ b/sys/dev/usb/serial/umct.c @@ -208,7 +208,7 @@ umct_probe(device_t dev) { struct usb2_attach_arg *uaa = device_get_ivars(dev); - if (uaa->usb2_mode != USB_MODE_HOST) { + if (uaa->usb_mode != USB_MODE_HOST) { return (ENXIO); } if (uaa->info.bConfigIndex != UMCT_CONFIG_INDEX) { |