summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_bus.h')
-rw-r--r--sys/dev/usb/usb_bus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_bus.h b/sys/dev/usb/usb_bus.h
index 07207cf..95c1632 100644
--- a/sys/dev/usb/usb_bus.h
+++ b/sys/dev/usb/usb_bus.h
@@ -51,7 +51,9 @@ struct usb_bus_stat {
struct usb_bus {
struct usb_bus_stat stats_err;
struct usb_bus_stat stats_ok;
+#if USB_HAVE_ROOT_MOUNT_HOLD
struct root_hold_token *bus_roothold;
+#endif
/*
* There are two callback processes. One for Giant locked
* callbacks. One for non-Giant locked callbacks. This should
OpenPOWER on IntegriCloud