summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorHadar Gat <hadar.gat@arm.com>2020-04-17 23:38:45 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-04-20 18:16:21 +1000
commit3357b61177a7f34267256098b29a7f4992af40f3 (patch)
tree4c8789e88f4718f873158188a75c3c49103cc17c /drivers/char
parentf88480e300ac13141aa84f0f70b745df2e11b203 (diff)
hwrng: cctrng - add missing include to linux/fips.h
This fixes build failure when CONFIG_CRYPTO_FIPS is defined. Fixes: a583ed310bb6 ("hwrng: cctrng - introduce Arm CryptoCell driver") Signed-off-by: Hadar Gat <hadar.gat@arm.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kbuild test robot <lkp@intel.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/cctrng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/cctrng.c b/drivers/char/hw_random/cctrng.c
index bdcd56243104..e82716c12c3a 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"