summaryrefslogtreecommitdiff
path: root/sys/dev/ic/nvme.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-06 21:27:48 +0000
committerIan Moffett <ian@osmora.org>2025-07-06 21:27:48 +0000
commit8a96646bdd6d5f91b2288cca68f3e552229e1b21 (patch)
treec3da3305384eab96552b2212b7d91ec45c297c3e /sys/dev/ic/nvme.c
parent4f3ff976f5fd90f2401eddf2c81d3226c7de45ed (diff)
kernel: Do not defer storage driver init
Early userspace *may* rely on storage drivers. If they attempt to access them before they are set up, things can go south. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic/nvme.c')
-rw-r--r--sys/dev/ic/nvme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 147ab4f..cae99f5 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -662,4 +662,4 @@ static struct bdevsw nvme_bdevsw = {
.write = nowrite
};
-DRIVER_DEFER(nvme_init, "nvme");
+DRIVER_EXPORT(nvme_init, "nvme");