refactor: make pci device driver loading passive, pci bus scanner will not load them...
[lunaix-os.git] / lunaix-os / hal / char / devzero.c
index f579047347cfc03f300b6edd7580eb4d49a541cc..f976c266f21d291635090496a0947db133bbee44 100644 (file)
@@ -34,4 +34,4 @@ static struct device_def devzero_def = {
     .class = DEVCLASSV(DEVIF_NON, DEVFN_PSEUDO, DEV_ZERO, DEV_BUILTIN_ZERO),
     .init = pdev_zerodev_init
 };
-EXPORT_DEVICE(zerodev, &devzero_def, load_earlystage);
+EXPORT_DEVICE(zerodev, &devzero_def, load_onboot);