diff options
author | Hadar Gat <hadar.gat@arm.com> | 2020-04-17 22:38:45 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-04-20 10:16:21 +0200 |
commit | 3357b61177a7f34267256098b29a7f4992af40f3 (patch) | |
tree | 4c8789e88f4718f873158188a75c3c49103cc17c /drivers/char/hw_random/cctrng.c | |
parent | crypto: hisilicon/qm - fix build failure with ACPI off (diff) | |
download | linux-3357b61177a7f34267256098b29a7f4992af40f3.tar.xz linux-3357b61177a7f34267256098b29a7f4992af40f3.zip |
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 '')
-rw-r--r-- | drivers/char/hw_random/cctrng.c | 1 |
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" |