summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/svr4/svr4_sysvec.c1
-rw-r--r--sys/dev/streams/streams.c1
-rw-r--r--sys/svr4/svr4_sysvec.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index 180bea1..5063ea6 100644
--- a/sys/compat/svr4/svr4_sysvec.c
+++ b/sys/compat/svr4/svr4_sysvec.c
@@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = {
0
};
DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
+MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index f4c89e0..c0f6f1c 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -188,6 +188,7 @@ static moduledata_t streams_mod = {
0
};
DECLARE_MODULE(streams, streams_mod, SI_SUB_DRIVERS, SI_ORDER_ANY);
+MODULE_VERSION(streams, 1);
/*
* We only need open() and close() routines. open() calls socreate()
diff --git a/sys/svr4/svr4_sysvec.c b/sys/svr4/svr4_sysvec.c
index 180bea1..5063ea6 100644
--- a/sys/svr4/svr4_sysvec.c
+++ b/sys/svr4/svr4_sysvec.c
@@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = {
0
};
DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
+MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
OpenPOWER on IntegriCloud