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 1999-11-08 07:10:48 +00:00
parent e1d47fe3ef
commit bef3233f97
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);