Use DRIVER_MODULE(), apm.c already takes care of it's devices with
make_dev().
This commit is contained in:
parent
44d1184e81
commit
cd3535a676
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user