aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhid.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/uhid.c
parent58746172638b840e31a260570a2b594f2d64eb1b (diff)
Notes
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 766098c995af..be7e8dc62e7d 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -154,6 +154,9 @@ Static struct cdevsw uhid_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif