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
30d5764da7
commit
bda20b64e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52993
@ -581,6 +581,5 @@ ieee1284_print_id(str)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__)
|
||||||
DEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass,
|
DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass, usbd_driver_load, 0);
|
||||||
ulpt_cdevsw, usbd_driver_load, 0);
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -752,5 +752,4 @@ ums_ioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEV_DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass,
|
DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass, usbd_driver_load, 0);
|
||||||
ums_cdevsw, usbd_driver_load, 0);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user