From cadcfffa8f8980a0f50767e6b4c7e0ff6eca896c Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 16 Apr 2016 06:10:47 +0000 Subject: 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 --- sys/dev/random/ivy.c | 2 +- sys/dev/random/nehemiah.c | 2 +- 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); -- cgit v1.1