summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-02-15 22:54:10 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-02-15 22:54:10 +0000
commitc67fd26e984ab205db6835ab41660bf2e2a32af3 (patch)
treef3911ffd1c740ea97235f2e9bebfffc7b73cf2e0 /sys/dev/usb/ugen.c
parent58746172638b840e31a260570a2b594f2d64eb1b (diff)
Notes
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r--sys/dev/usb/ugen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 9a295094a7d3..ae18038a8594 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -147,6 +147,9 @@ Static struct cdevsw ugen_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif