diff options
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/ugen.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/ulpt.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/ums.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index cc14a7d..bebd853 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -997,6 +997,6 @@ ugen_detach(device_t self) return 0; } -CDEV_DRIVER_MODULE(ugen, uhub, ugen_driver, ugen_devclass, - UGEN_CDEV_MAJOR, ugen_cdevsw, usbd_driver_load, 0); +DEV_DRIVER_MODULE(ugen, uhub, ugen_driver, ugen_devclass, + UGEN_CDEV_MAJOR, NODEV, ugen_cdevsw, usbd_driver_load, 0); #endif diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index 9aaf024..677ef4b 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -442,6 +442,6 @@ ulpt_detach(device_t self) return 0; } -CDEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass, - ULPT_CDEV_MAJOR, ulpt_cdevsw, usbd_driver_load, 0); +DEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass, + ULPT_CDEV_MAJOR, NODEV, ulpt_cdevsw, usbd_driver_load, 0); #endif diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index fefd342..37888b3 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -795,6 +795,6 @@ ums_ioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) #endif #if defined(__FreeBSD__) -CDEV_DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass, - UMS_CDEV_MAJOR, ums_cdevsw, usbd_driver_load, 0); +DEV_DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass, + UMS_CDEV_MAJOR, NODEV, ums_cdevsw, usbd_driver_load, 0); #endif |