From: Javier Martinez Canillas Date: Mon, 2 Jan 2017 17:06:57 +0000 (-0300) Subject: crypto: picoxcell - Allow driver to build COMPILE_TEST is enabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f44d86df083c3bc91d2fc315fc133c514d26a0d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git crypto: picoxcell - Allow driver to build COMPILE_TEST is enabled Driver only has runtime but no build time dependency with ARCH_PICOXCELL. So it can be built for testing purposes if COMPILE_TEST option is enabled. This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause build regressions. Suggested-by: Arnd Bergmann Signed-off-by: Javier Martinez Canillas Acked-by: Jamie Iles Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 8ded3af88b16..18d2d52c3356 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -339,7 +339,7 @@ config CRYPTO_DEV_OMAP_DES config CRYPTO_DEV_PICOXCELL tristate "Support for picoXcell IPSEC and Layer2 crypto engines" - depends on ARCH_PICOXCELL && HAVE_CLK + depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK select CRYPTO_AEAD select CRYPTO_AES select CRYPTO_AUTHENC