[PATCH] hwrng: cctrng - add missing include to linux/fips.h
From: Hadar Gat
Date: Fri Apr 17 2020 - 16:39:03 EST
This fixes build failure when CONFIG_CRYPTO_FIPS is defined.
Signed-off-by: Hadar Gat <hadar.gat@xxxxxxx>
---
drivers/char/hw_random/cctrng.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/hw_random/cctrng.c b/drivers/char/hw_random/cctrng.c
index bdcd562..e82716c 100644
--- a/drivers/char/hw_random/cctrng.c
+++ b/drivers/char/hw_random/cctrng.c
@@ -15,6 +15,7 @@
#include <linux/completion.h>
#include <linux/of.h>
#include <linux/bitfield.h>
+#include <linux/fips.h>
#include "cctrng.h"
--
2.7.4