summaryrefslogtreecommitdiffstats
path: root/sys/dev/random
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-04-16 06:10:47 +0000
committerkib <kib@FreeBSD.org>2016-04-16 06:10:47 +0000
commitcadcfffa8f8980a0f50767e6b4c7e0ff6eca896c (patch)
tree28bd4793dc6b63aad1acaa51a398a1a9383dc862 /sys/dev/random
parentcde0a91a263ab018c1610d04a0e965bb0ec08245 (diff)
downloadFreeBSD-src-cadcfffa8f8980a0f50767e6b4c7e0ff6eca896c.zip
FreeBSD-src-cadcfffa8f8980a0f50767e6b4c7e0ff6eca896c.tar.gz
Fix rdrand_rng.ko and padlock_rng.ko dependencies, making modules
loadable when not compiled into the kernel. Approved by: so (delphij) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/ivy.c2
-rw-r--r--sys/dev/random/nehemiah.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/ivy.c b/sys/dev/random/ivy.c
index a7cd32f..7ab2b03 100644
--- a/sys/dev/random/ivy.c
+++ b/sys/dev/random/ivy.c
@@ -129,4 +129,4 @@ rdrand_modevent(module_t mod, int type, void *unused)
DEV_MODULE(rdrand, rdrand_modevent, NULL);
MODULE_VERSION(rdrand, 1);
-MODULE_DEPEND(rdrand, randomdev, 1, 1, 1);
+MODULE_DEPEND(rdrand, random_device, 1, 1, 1);
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c
index 111bd94..74a1afb 100644
--- a/sys/dev/random/nehemiah.c
+++ b/sys/dev/random/nehemiah.c
@@ -151,4 +151,4 @@ nehemiah_modevent(module_t mod, int type, void *unused)
DEV_MODULE(nehemiah, nehemiah_modevent, NULL);
MODULE_VERSION(nehemiah, 1);
-MODULE_DEPEND(nehemiah, randomdev, 1, 1, 1);
+MODULE_DEPEND(nehemiah, random_device, 1, 1, 1);
OpenPOWER on IntegriCloud