aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2003-08-25 22:10:52 +0000
committerJosef Karthauser <joe@FreeBSD.org>2003-08-25 22:10:52 +0000
commit3af4b6b4d7c679f7e2970d4fc46caf9dcc59ff61 (patch)
tree0e7a2a31abe2cc4819ce099448152f4b2ca6f804
parent219b479f9f7fcffd3e7abeca5837b0a4205d0be6 (diff)
downloadsrc-3af4b6b4d7c679f7e2970d4fc46caf9dcc59ff61.tar.gz
src-3af4b6b4d7c679f7e2970d4fc46caf9dcc59ff61.zip
Implement the last commit properly.
Notes
Notes: svn path=/head/; revision=119479
-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);