Commit 5bc8c7cd authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent f1a1b635
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
*/ */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/export.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -30,6 +31,7 @@ ...@@ -30,6 +31,7 @@
unsigned long (*mach_random_get_entropy)(void); unsigned long (*mach_random_get_entropy)(void);
EXPORT_SYMBOL_GPL(mach_random_get_entropy);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment