summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 32e9101..72240bf 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);
OpenPOWER on IntegriCloud