summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umodem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/umodem.c')
-rw-r--r--sys/dev/usb/umodem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index be03540bd2c4..91a32d01b6bb 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -172,6 +172,9 @@ static struct cdevsw umodem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1,
+#endif
/* kqfilter */ ttykqfilter,
};
#endif