aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ums.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 32e91015cc5b..72240bf6b575 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -158,6 +158,9 @@ Static struct cdevsw ums_cdevsw = {
.d_poll = ums_poll,
.d_name = "ums",
.d_maj = UMS_CDEV_MAJOR,
+#if __FreeBSD_version < 500014
+ .d_bmaj -1
+#endif
};
USB_DECLARE_DRIVER(ums);