summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ucom.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-07-10 00:46:44 +0000
committerjoe <joe@FreeBSD.org>2002-07-10 00:46:44 +0000
commit2ff4d14a63182efbf9af081cf24121a59d933c2e (patch)
treee0fa2a446dd67c5e6ba3770fd34dc13db58b2902 /sys/dev/usb/ucom.c
parent2ffd2d012af2e023f8172b47985704a3fddd22de (diff)
downloadFreeBSD-src-2ff4d14a63182efbf9af081cf24121a59d933c2e.zip
FreeBSD-src-2ff4d14a63182efbf9af081cf24121a59d933c2e.tar.gz
Include the bmaj entry in the cdevsw for versions of FreeBSD that need it.
Diffstat (limited to 'sys/dev/usb/ucom.c')
-rw-r--r--sys/dev/usb/ucom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index 8e697fe..4aac9b88 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -144,6 +144,9 @@ static struct cdevsw ucom_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
+#if __FreeBSD_version < 500014
+ /* bmaj */ -1,
+#endif
/* kqfilter */ ttykqfilter,
};
OpenPOWER on IntegriCloud