]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: tcrypt - Include linux/fips.h for fips_enabled
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 05:25:57 +0000 (13:25 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:09 +0000 (14:18 +0800)
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>
crypto/tcrypt.c

index bf41c34da7201059b4c64b02b45572aff1f829fe..22cdd61e6cecf9e581e98e426ef4657a91018bbc 100644 (file)
@@ -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).