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:
Peter Wemm 1999-11-08 07:10:48 +00:00
parent 30d5764da7
commit bda20b64e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52993
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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);