Skip to content

Commit

Permalink
hwrng: cctrng - add missing include to linux/fips.h
Browse files Browse the repository at this point in the history
This fixes build failure when CONFIG_CRYPTO_FIPS is defined.

Fixes: a583ed3 ("hwrng: cctrng - introduce Arm CryptoCell driver")
Signed-off-by: Hadar Gat <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
hadargat authored and herbertx committed Apr 20, 2020
1 parent f88480e commit 3357b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/hw_random/cctrng.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/completion.h>
#include <linux/of.h>
#include <linux/bitfield.h>
#include <linux/fips.h>

#include "cctrng.h"

Expand Down

0 comments on commit 3357b61

Please sign in to comment.