summaryrefslogtreecommitdiff
path: root/arch/s390/crypto
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-01-08 19:13:49 +0100
committerHeiko Carstens <hca@linux.ibm.com>2023-01-10 14:39:08 +0100
commite7b481697188f2c715b951b4aa771a8ffebf3243 (patch)
tree6a6afdad21ad53706ca6ac6c8b97f4de835c61f3 /arch/s390/crypto
parent9cab4f7d98eee90b762ffbc87055c9499d51a635 (diff)
s390/archrandom: add missing header include
Add missing header include to get rid of arch/s390/crypto/arch_random.c:15:1: warning: symbol 's390_arch_random_available' was not declared. Should it be static? arch/s390/crypto/arch_random.c:17:12: warning: symbol 's390_arch_random_counter' was not declared. Should it be static? Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/crypto')
-rw-r--r--arch/s390/crypto/arch_random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/crypto/arch_random.c b/arch/s390/crypto/arch_random.c
index 1f2d40993c4d..a8a2407381af 100644
--- a/arch/s390/crypto/arch_random.c
+++ b/arch/s390/crypto/arch_random.c
@@ -10,6 +10,7 @@
#include <linux/atomic.h>
#include <linux/random.h>
#include <linux/static_key.h>
+#include <asm/archrandom.h>
#include <asm/cpacf.h>
DEFINE_STATIC_KEY_FALSE(s390_arch_random_available);