summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-22 13:25:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-23 14:18:09 +0800
commitdaf0944cfb1fd2f6ca17fd4ed1ecbbef63d8f8f8 (patch)
tree330b422490d3929e5530a88809c5abec2f426794
parent94072cb20eed369c64364c95bcfa3c012f54f466 (diff)
downloadlinux-rpi3-daf0944cfb1fd2f6ca17fd4ed1ecbbef63d8f8f8.tar.gz
linux-rpi3-daf0944cfb1fd2f6ca17fd4ed1ecbbef63d8f8f8.tar.bz2
linux-rpi3-daf0944cfb1fd2f6ca17fd4ed1ecbbef63d8f8f8.zip
crypto: tcrypt - Include linux/fips.h for fips_enabled
All users of fips_enabled should include linux/fips.h directly instead of getting it through internal.h which is reserved for internal crypto API implementors. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/tcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index bf41c34da720..22cdd61e6cec 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -24,6 +24,7 @@
#include <crypto/hash.h>
#include <linux/err.h>
+#include <linux/fips.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/module.h>
@@ -34,7 +35,6 @@
#include <linux/timex.h>
#include <linux/interrupt.h>
#include "tcrypt.h"
-#include "internal.h"
/*
* Need slab memory for testing (size in number of pages).