diff options
author | 2023-08-13 14:54:34 +0800 | |
---|---|---|
committer | 2023-08-18 17:01:10 +0800 | |
commit | 1c27c0ca220b42fb8b727d68b58693b77cbd095d (patch) | |
tree | e3ff45ae954f7e3cc3579644828a940cb392959f /drivers/crypto | |
parent | crypto: engine - Remove prepare/unprepare request (diff) | |
download | linux-1c27c0ca220b42fb8b727d68b58693b77cbd095d.tar.gz linux-1c27c0ca220b42fb8b727d68b58693b77cbd095d.tar.bz2 linux-1c27c0ca220b42fb8b727d68b58693b77cbd095d.zip |
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')
-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 |