summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uftdi.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-09-07 00:06:42 +0000
committerWarner Losh <imp@FreeBSD.org>2006-09-07 00:06:42 +0000
commit2deae8fa2fc71cfc20b904b038f4cfd71e9fd75d (patch)
tree6be1b34cd1d3af5d631e1a8c39ca0dd5d0165f89 /sys/dev/usb/uftdi.c
parent730503190d4ae7364ebe4ff5104503d5895eb8d4 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/uftdi.c')
-rw-r--r--sys/dev/usb/uftdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c
index e5691f8fe830..a9d92af60d3b 100644
--- a/sys/dev/usb/uftdi.c
+++ b/sys/dev/usb/uftdi.c
@@ -201,7 +201,7 @@ USB_ATTACH(uftdi)
ucom->sc_dev = self;
ucom->sc_udev = dev;
- devname = USBDEVNAME(ucom->sc_dev);
+ devname = device_get_nameunit(ucom->sc_dev);
if (uaa->iface == NULL) {
/* Move the device into the configured state. */