kernel: Use NULL for DRIVER_MODULE()'s evh & arg (which are pointers).
[dragonfly.git] / sys / bus / pci / x86_64 / legacy.c
index eba651c..ef10b52 100644 (file)
@@ -96,7 +96,7 @@ static driver_t legacy_driver = {
 };
 static devclass_t legacy_devclass;
 
 };
 static devclass_t legacy_devclass;
 
-DRIVER_MODULE(legacy, nexus, legacy_driver, legacy_devclass, 0, 0);
+DRIVER_MODULE(legacy, nexus, legacy_driver, legacy_devclass, NULL, NULL);
 
 static int
 legacy_identify(driver_t *driver, device_t parent)
 
 static int
 legacy_identify(driver_t *driver, device_t parent)
@@ -300,7 +300,7 @@ static driver_t cpu_driver = {
        1,              /* no softc */
 };
 static devclass_t cpu_devclass;
        1,              /* no softc */
 };
 static devclass_t cpu_devclass;
-DRIVER_MODULE(cpu, legacy, cpu_driver, cpu_devclass, 0, 0);
+DRIVER_MODULE(cpu, legacy, cpu_driver, cpu_devclass, NULL, NULL);
 
 static void
 cpu_identify(driver_t *driver, device_t parent)
 
 static void
 cpu_identify(driver_t *driver, device_t parent)