diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index ee8da628e9da46273dc90612c8be747736cb2772..43472e79533c74dc0869e1af40a5c951de559b9c 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -23,7 +23,7 @@
 #include <linux/fips.h>
 #include <linux/module.h>
 #include <linux/once.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
 #include <linux/scatterlist.h>
 #include <linux/slab.h>
 #include <linux/string.h>