diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-20 23:12:14 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-20 23:12:14 +0000 |
commit | 1f8835dc17f7687ea23fd70df12fc29ec7a052a1 (patch) | |
tree | 3033567942b232e2dd3b416b9ea983de102b02a5 /sys/dev/usb/usb_hub.c | |
parent | 9f723b539089d6eef4ea8986738d45f1833e37fa (diff) | |
download | FreeBSD-src-1f8835dc17f7687ea23fd70df12fc29ec7a052a1.zip FreeBSD-src-1f8835dc17f7687ea23fd70df12fc29ec7a052a1.tar.gz |
Fix compile with USB_HAVE_BUSDMA/USB_HAVE_UGEN/USB_HAVE_STRINGS.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_hub.c')
-rw-r--r-- | sys/dev/usb/usb_hub.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c index e08f492..a720261 100644 --- a/sys/dev/usb/usb_hub.c +++ b/sys/dev/usb/usb_hub.c @@ -978,7 +978,11 @@ uhub_child_pnpinfo_string(device_t parent, device_t child, UGETW(res.udev->ddesc.idProduct), res.udev->ddesc.bDeviceClass, res.udev->ddesc.bDeviceSubClass, +#if USB_HAVE_STRINGS res.udev->serial, +#else + "", +#endif iface->idesc->bInterfaceClass, iface->idesc->bInterfaceSubClass); } else { |