summaryrefslogtreecommitdiff
path: root/crypto/fips.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-22 13:25:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-23 14:18:08 +0800
commit76450f93f17bb03a27476371c4c907e26a3c78a4 (patch)
treea0f569d42e97046a587381acce2c8492b56def9f /crypto/fips.c
parent3133d76fc60bce6f3e00efb6c3540f2f449ff569 (diff)
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>
Diffstat (limited to 'crypto/fips.c')
-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);