From: Geert Uytterhoeven Date: Thu, 10 Jul 2014 16:03:17 +0000 (+0200) Subject: m68k: Export mach_random_get_entropy to modules X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5bc8c7cdeb6e3d9c1b938b4029d9a22f8dc5cd9d;p=linux-beck.git m68k: Export mach_random_get_entropy to modules When a module calls random_get_entropy(): ERROR: "mach_random_get_entropy" [crypto/drbg.ko] undefined! make[1]: *** [__modpost] Error 1 Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c index 958f1adb9d0c..3857737e3958 100644 --- a/arch/m68k/kernel/time.c +++ b/arch/m68k/kernel/time.c @@ -11,6 +11,7 @@ */ #include +#include #include #include #include @@ -30,6 +31,7 @@ unsigned long (*mach_random_get_entropy)(void); +EXPORT_SYMBOL_GPL(mach_random_get_entropy); /*