diff options
author | joe <joe@FreeBSD.org> | 2002-02-14 00:35:03 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-02-14 00:35:03 +0000 |
commit | ebcf5e95396241eb9260bd7375f1a59a86decd0e (patch) | |
tree | cb118bf90bc7775446c9d47ca734d02ae5db8122 /sys/dev/usb/uscanner.c | |
parent | 049d677fb99a99e64db46cae7b5b694c9cd50c66 (diff) | |
download | FreeBSD-src-ebcf5e95396241eb9260bd7375f1a59a86decd0e.zip FreeBSD-src-ebcf5e95396241eb9260bd7375f1a59a86decd0e.tar.gz |
Rework revision 1.12, and wrap the bmaj entry with an #if doesn't
compile it in on FreeBSD-current, but does in all other cases
(-stable, NetBSD, OpenBSD, etc).
Diffstat (limited to 'sys/dev/usb/uscanner.c')
-rw-r--r-- | sys/dev/usb/uscanner.c | 3 |
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 |