diff options
author | joe <joe@FreeBSD.org> | 2002-07-10 00:46:44 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-07-10 00:46:44 +0000 |
commit | 2ff4d14a63182efbf9af081cf24121a59d933c2e (patch) | |
tree | e0fa2a446dd67c5e6ba3770fd34dc13db58b2902 /sys/dev/usb/ucom.c | |
parent | 2ffd2d012af2e023f8172b47985704a3fddd22de (diff) | |
download | FreeBSD-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.c | 3 |
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, }; |