diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c --- a/sys/dev/firewire/firewire.c +++ b/sys/dev/firewire/firewire.c @@ -2368,6 +2368,7 @@ switch (type) { case MOD_LOAD: + firewire_devclass = devclass_create("firewire"); fwdev_ehtag = EVENTHANDLER_REGISTER(dev_clone, fwdev_clone, 0, 1000); break; @@ -2384,6 +2385,5 @@ } -DRIVER_MODULE(firewire, fwohci, firewire_driver, firewire_devclass, - fw_modevent,0); +DRIVER_MODULE(firewire, fwohci, firewire_driver, fw_modevent, NULL); MODULE_VERSION(firewire, 1);