From: Luca Barbato Date: Sun, 23 Jul 2023 20:23:40 +0000 (+0200) Subject: kernel: Autoload nvme at preinit time X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40f9514e8068fbc149a9616b66ff7b996a718a68;p=openwrt%2Fstaging%2Fblocktrron.git kernel: Autoload nvme at preinit time This way is possible to mount nvme extroots. Signed-off-by: Luca Barbato (cherry picked from commit 0fe9a8ca94830270820f7a1eb457f5d5d587125d) --- diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index bdf84e8ae2..4ee3f78f38 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -505,7 +505,7 @@ define KernelPackage/nvme FILES:= \ $(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \ $(LINUX_DIR)/drivers/nvme/host/nvme.ko - AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme) + AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme,1) endef define KernelPackage/nvme/description