X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8b8f49b713d64065775fe538232f8639083601bd..1375eb51603466b723ab7dd1ca4194ee5d662f75:/lunaix-os/hal/char/devzero.c diff --git a/lunaix-os/hal/char/devzero.c b/lunaix-os/hal/char/devzero.c index f579047..9c0b6c7 100644 --- a/lunaix-os/hal/char/devzero.c +++ b/lunaix-os/hal/char/devzero.c @@ -32,6 +32,5 @@ pdev_zerodev_init(struct device_def* def) static struct device_def devzero_def = { .name = "zero", .class = DEVCLASSV(DEVIF_NON, DEVFN_PSEUDO, DEV_ZERO, DEV_BUILTIN_ZERO), - .init = pdev_zerodev_init -}; -EXPORT_DEVICE(zerodev, &devzero_def, load_earlystage); + .init = pdev_zerodev_init}; +EXPORT_DEVICE(zerodev, &devzero_def, load_onboot);