From 76450f93f17bb03a27476371c4c907e26a3c78a4 Mon Sep 17 00:00:00 2001 From: Herbert Xu <herbert@gondor.apana.org.au> Date: Wed, 22 Apr 2015 13:25:54 +0800 Subject: [PATCH] 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> --- crypto/fips.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto/fips.c b/crypto/fips.c index 553970081c62e..0f65df997bfe7 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); -- GitLab