diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-10 15:30:09 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-17 06:59:48 +0100 |
commit | 244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f (patch) | |
tree | 7b9ced0ecb56bd6b52eaae1a7e05f86f2a59e9c2 /include/crypto/cryptd.h | |
parent | crypto: marvell/octeontx - Use kcalloc() instead of kzalloc() (diff) | |
download | linux-244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f.tar.xz linux-244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f.zip |
crypto: api - Replace kernel.h with the necessary inclusions
When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.
Replace kernel.h inclusion with the list of what is really being used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/cryptd.h')
-rw-r--r-- | include/crypto/cryptd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/cryptd.h b/include/crypto/cryptd.h index 23169f4d87e6..796d986e58e1 100644 --- a/include/crypto/cryptd.h +++ b/include/crypto/cryptd.h @@ -13,7 +13,8 @@ #ifndef _CRYPTO_CRYPT_H #define _CRYPTO_CRYPT_H -#include <linux/kernel.h> +#include <linux/types.h> + #include <crypto/aead.h> #include <crypto/hash.h> #include <crypto/skcipher.h> |