Skip to content

Commit

Permalink
crypto: fips - Remove bogus inclusion of internal.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
herbertx committed Apr 23, 2015
1 parent 3133d76 commit 76450f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crypto/fips.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 76450f9

Please sign in to comment.