summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/bktr/bktr_mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/bktr/bktr_mem.c b/sys/dev/bktr/bktr_mem.c
index 11769ae..5e2c8e8 100644
--- a/sys/dev/bktr/bktr_mem.c
+++ b/sys/dev/bktr/bktr_mem.c
@@ -169,5 +169,6 @@ static moduledata_t bktr_mem_mod = {
bktr_mem_modevent,
0
};
-DECLARE_MODULE(bktr_mem, bktr_mem_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
+/* The load order is First so bktr_mem loads (and initialises) before bktr */
+DECLARE_MODULE(bktr_mem, bktr_mem_mod, SI_SUB_PSEUDO, SI_ORDER_FIRST);
MODULE_VERSION(bktr_mem, 1);
OpenPOWER on IntegriCloud