summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2003-08-25 22:01:06 +0000
committerjoe <joe@FreeBSD.org>2003-08-25 22:01:06 +0000
commitee20548ddcf1e21f7f0b709491e1f0a94b3c672a (patch)
tree2daa8f810432217314c2b26acafce673a8f8ee55 /sys/dev/usb/urio.c
parent3e80957e2b5bec9c7d086833c410d9b9813bb8b8 (diff)
downloadFreeBSD-src-ee20548ddcf1e21f7f0b709491e1f0a94b3c672a.zip
FreeBSD-src-ee20548ddcf1e21f7f0b709491e1f0a94b3c672a.tar.gz
Fix the cdevsw compatibility for -stable.
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 25c0856..6614a33 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -126,7 +126,7 @@ Static struct cdevsw urio_cdevsw = {
.d_name = "urio",
.d_maj = URIO_CDEV_MAJOR,
#if __FreeBSD_version < 500014
- -1
+ .d_bmaj = -1
#endif
};
#define RIO_UE_GET_DIR(p) ((UE_GET_DIR(p) == UE_DIR_IN) ? RIO_IN :\
OpenPOWER on IntegriCloud