From: Herbert Xu Date: Wed, 22 Apr 2015 05:25:54 +0000 (+0800) Subject: crypto: fips - Remove bogus inclusion of internal.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=76450f93f17bb03a27476371c4c907e26a3c78a4;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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 +#include +#include +#include int fips_enabled; EXPORT_SYMBOL_GPL(fips_enabled);