summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ulpt.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-05-09 13:00:50 +0000
committerphk <phk@FreeBSD.org>1999-05-09 13:00:50 +0000
commite05bc3b49a62c15237c5647caa75821e3355e91d (patch)
treec5c673ce4e60f5ce4f05e870c615d1b9f1150619 /sys/dev/usb/ulpt.c
parent7d04d621267e45d230142f9f342d01744819ec08 (diff)
downloadFreeBSD-src-e05bc3b49a62c15237c5647caa75821e3355e91d.zip
FreeBSD-src-e05bc3b49a62c15237c5647caa75821e3355e91d.tar.gz
Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between
a major number for a dev_t.
Diffstat (limited to 'sys/dev/usb/ulpt.c')
-rw-r--r--sys/dev/usb/ulpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index 677ef4b..196e79e 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -443,5 +443,5 @@ ulpt_detach(device_t self)
}
DEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass,
- ULPT_CDEV_MAJOR, NODEV, ulpt_cdevsw, usbd_driver_load, 0);
+ ULPT_CDEV_MAJOR, NOMAJ, ulpt_cdevsw, usbd_driver_load, 0);
#endif
OpenPOWER on IntegriCloud