diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c index 2bebac01519e..95114e253809 100644 --- a/sys/dev/safe/safe.c +++ b/sys/dev/safe/safe.c @@ -108,14 +108,14 @@ static device_method_t safe_methods[] = { DEVMETHOD_END }; + static driver_t safe_driver = { "safe", safe_methods, sizeof (struct safe_softc) }; -static devclass_t safe_devclass; -DRIVER_MODULE(safe, pci, safe_driver, safe_devclass, 0, 0); +DRIVER_MODULE(safe, pci, safe_driver, 0, 0); MODULE_DEPEND(safe, crypto, 1, 1, 1); #ifdef SAFE_RNDTEST MODULE_DEPEND(safe, rndtest, 1, 1, 1);