diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-08-19 14:58:20 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-08-20 07:04:28 +0300 |
commit | 0c3dc787a62aef3ca7aedf3797ec42fff9b0a913 (patch) | |
tree | b6f889a67f1b8f2faa6ae1ca2d8dccfe80722b6d /drivers/crypto/marvell/cesa/cesa.h | |
parent | 1dbb920e342cab987186ad8ed6eac9c1cf710db7 (diff) | |
download | linux-0c3dc787a62aef3ca7aedf3797ec42fff9b0a913.tar.xz |
crypto: algapi - Remove skbuff.h inclusion
The header file algapi.h includes skbuff.h unnecessarily since
all we need is a forward declaration for struct sk_buff. This
patch removes that inclusion.
Unfortunately skbuff.h pulls in a lot of things and drivers over
the years have come to rely on it so this patch adds a lot of
missing inclusions that result from this.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell/cesa/cesa.h')
-rw-r--r-- | drivers/crypto/marvell/cesa/cesa.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/marvell/cesa/cesa.h b/drivers/crypto/marvell/cesa/cesa.h index 0c9cbb681e49..48cab49d2c44 100644 --- a/drivers/crypto/marvell/cesa/cesa.h +++ b/drivers/crypto/marvell/cesa/cesa.h @@ -2,12 +2,10 @@ #ifndef __MARVELL_CESA_H__ #define __MARVELL_CESA_H__ -#include <crypto/algapi.h> -#include <crypto/hash.h> #include <crypto/internal/hash.h> #include <crypto/internal/skcipher.h> -#include <linux/crypto.h> +#include <linux/dma-direction.h> #include <linux/dmapool.h> #define CESA_ENGINE_OFF(i) (((i) * 0x2000)) |