summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uscanner.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uscanner.c')
-rw-r--r--sys/dev/usb/uscanner.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index 26cb63f..d07c738 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -252,6 +252,9 @@ Static struct cdevsw uscanner_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif
OpenPOWER on IntegriCloud