diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-13 09:54:34 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-18 12:01:10 +0300 |
commit | 1c27c0ca220b42fb8b727d68b58693b77cbd095d (patch) | |
tree | e3ff45ae954f7e3cc3579644828a940cb392959f /drivers/crypto/starfive | |
parent | bcd6e41d983621954dfc3f1f64249a55838b3e6a (diff) | |
download | linux-1c27c0ca220b42fb8b727d68b58693b77cbd095d.tar.xz |
crypto: jh7110 - Include crypto/hash.h in header file
The header file jh7110-cryp uses ahash_request without including
crypto/hash.h. Fix that by adding the inclusion.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/starfive')
-rw-r--r-- | drivers/crypto/starfive/jh7110-cryp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/crypto/starfive/jh7110-cryp.h b/drivers/crypto/starfive/jh7110-cryp.h index b6d809e8fe45..4462d1db9544 100644 --- a/drivers/crypto/starfive/jh7110-cryp.h +++ b/drivers/crypto/starfive/jh7110-cryp.h @@ -2,15 +2,15 @@ #ifndef __STARFIVE_STR_H__ #define __STARFIVE_STR_H__ -#include <linux/delay.h> -#include <linux/dma-mapping.h> -#include <linux/dmaengine.h> -#include <linux/interrupt.h> - #include <crypto/aes.h> #include <crypto/engine.h> +#include <crypto/hash.h> #include <crypto/sha2.h> #include <crypto/sm3.h> +#include <linux/delay.h> +#include <linux/dma-mapping.h> +#include <linux/dmaengine.h> +#include <linux/interrupt.h> #define STARFIVE_ALG_CR_OFFSET 0x0 #define STARFIVE_ALG_FIFO_OFFSET 0x4 |