This driver compile tests just fine.
Signed-off-by: Herbert Xu <[email protected]>
diff --git a/drivers/crypto/aspeed/Kconfig b/drivers/crypto/aspeed/Kconfig
index 001bf2e09a72..ae3eb0eb57f6 100644
--- a/drivers/crypto/aspeed/Kconfig
+++ b/drivers/crypto/aspeed/Kconfig
@@ -1,6 +1,6 @@
config CRYPTO_DEV_ASPEED
tristate "Support for Aspeed cryptographic engine driver"
- depends on ARCH_ASPEED
+ depends on ARCH_ASPEED || COMPILE_TEST
help
Hash and Crypto Engine (HACE) is designed to accelerate the
throughput of hash data digest, encryption and decryption.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> -----Original Message-----
> From: Herbert Xu <[email protected]>
> Sent: Friday, August 26, 2022 7:06 PM
> To: Neal Liu <[email protected]>; Linux Crypto Mailing List
> <[email protected]>
> Subject: [PATCH] crypto: aspeed - Enable compile testing
>
> This driver compile tests just fine.
>
> Signed-off-by: Herbert Xu <[email protected]>
Reviewed-by: Neal Liu <[email protected]>
>
> diff --git a/drivers/crypto/aspeed/Kconfig b/drivers/crypto/aspeed/Kconfig
> index 001bf2e09a72..ae3eb0eb57f6 100644
> --- a/drivers/crypto/aspeed/Kconfig
> +++ b/drivers/crypto/aspeed/Kconfig
> @@ -1,6 +1,6 @@
> config CRYPTO_DEV_ASPEED
> tristate "Support for Aspeed cryptographic engine driver"
> - depends on ARCH_ASPEED
> + depends on ARCH_ASPEED || COMPILE_TEST
> help
> Hash and Crypto Engine (HACE) is designed to accelerate the
> throughput of hash data digest, encryption and decryption.
> --
> Email: Herbert Xu <[email protected]> Home Page:
> http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt