summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-22 07:25:54 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-23 08:18:08 +0200
commit76450f93f17bb03a27476371c4c907e26a3c78a4 (patch)
treea0f569d42e97046a587381acce2c8492b56def9f
parentcrypto: api - Include linux/fips.h (diff)
downloadlinux-76450f93f17bb03a27476371c4c907e26a3c78a4.tar.xz
linux-76450f93f17bb03a27476371c4c907e26a3c78a4.zip
crypto: fips - Remove bogus inclusion of internal.h
The header file internal.h is only meant for internal crypto API implementors such as rng.c. So fips has no business in including it. This patch removes that inclusions and instead adds inclusions of the actual features used by fips. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/fips.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/fips.c b/crypto/fips.c
index 553970081c62..0f65df997bfe 100644
--- a/crypto/fips.c
+++ b/crypto/fips.c
@@ -10,7 +10,10 @@
*
*/
-#include "internal.h"
+#include <linux/export.h>
+#include <linux/fips.h>
+#include <linux/init.h>
+#include <linux/kernel.h>
int fips_enabled;
EXPORT_SYMBOL_GPL(fips_enabled);