ulpt.c and ums.c already uses make_dev(), so there's no need to use the
(presently broken) DEV_DRIVER_MODULE(). Use DRIVER_MODULE() directly.
This commit is contained in:
parent
e1d47fe3ef
commit
bef3233f97
@ -581,6 +581,5 @@ ieee1284_print_id(str)
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
DEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass,
|
||||
ulpt_cdevsw, usbd_driver_load, 0);
|
||||
DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass, usbd_driver_load, 0);
|
||||
#endif
|
||||
|
@ -752,5 +752,4 @@ ums_ioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
|
||||
return error;
|
||||
}
|
||||
|
||||
DEV_DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass,
|
||||
ums_cdevsw, usbd_driver_load, 0);
|
||||
DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass, usbd_driver_load, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user