diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-10 17:30:09 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-17 08:59:48 +0300 |
commit | 244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f (patch) | |
tree | 7b9ced0ecb56bd6b52eaae1a7e05f86f2a59e9c2 /include/crypto/algapi.h | |
parent | 0b62b664d52c670eb5e0fa7dfd6a85dbc518619c (diff) | |
download | linux-244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f.tar.xz |
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/algapi.h')
-rw-r--r-- | include/crypto/algapi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index 5f6841c73e5a..f76ec723ceae 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h @@ -7,9 +7,11 @@ #ifndef _CRYPTO_ALGAPI_H #define _CRYPTO_ALGAPI_H +#include <linux/align.h> #include <linux/crypto.h> +#include <linux/kconfig.h> #include <linux/list.h> -#include <linux/kernel.h> +#include <linux/types.h> /* * Maximum values for blocksize and alignmask, used to allocate @@ -24,6 +26,7 @@ struct crypto_aead; struct crypto_instance; struct module; +struct notifier_block; struct rtattr; struct seq_file; struct sk_buff; |