Use DRIVER_MODULE(), apm.c already takes care of it's devices with

make_dev().
This commit is contained in:
Peter Wemm 1999-11-08 07:44:26 +00:00
parent 44d1184e81
commit cd3535a676
2 changed files with 2 additions and 2 deletions

View File

@ -1373,4 +1373,4 @@ static driver_t apm_driver = {
static devclass_t apm_devclass;
DEV_DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, apm_cdevsw, 0, 0);
DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, 0, 0);

View File

@ -1373,4 +1373,4 @@ static driver_t apm_driver = {
static devclass_t apm_devclass;
DEV_DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, apm_cdevsw, 0, 0);
DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, 0, 0);