refactor: make pci device driver loading passive, pci bus scanner will not load them...
[lunaix-os.git] / lunaix-os / hal / char / devnull.c
index 9806dc0359ec953f0573d7f2459234e854350227..7dfd0a780ddcc620e6acb44da4cfad8a29790151 100644 (file)
@@ -48,4 +48,4 @@ static struct device_def devnull_def = {
     .class = DEVCLASSV(DEVIF_NON, DEVFN_PSEUDO, DEV_NULL, DEV_BUILTIN_NULL),
     .init = pdev_nulldev_init
 };
-EXPORT_DEVICE(nulldev, &devnull_def, load_earlystage);
+EXPORT_DEVICE(nulldev, &devnull_def, load_onboot);