]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
crypto: fips - Remove bogus inclusion of internal.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 05:25:54 +0000 (13:25 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:08 +0000 (14:18 +0800)
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

index 553970081c62e290f47c8bb446f2f6f32f609cd6..0f65df997bfe7614460e870a9d5e9d75fd9ee367 100644 (file)
  *
  */
 
-#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);