summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2017-01-02 12:06:57 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2017-01-12 11:24:40 -0500
commit4f44d86df083c3bc91d2fc315fc133c514d26a0d (patch)
treebfdd62962553eb74fefcfc810cc7559fb0311214 /drivers/crypto/Kconfig
parentd8c34b949d8c9f61e099e00f22770e400adf2b76 (diff)
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 <arnd@arndb.de> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
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
339 339
340config CRYPTO_DEV_PICOXCELL 340config CRYPTO_DEV_PICOXCELL
341 tristate "Support for picoXcell IPSEC and Layer2 crypto engines" 341 tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
342 depends on ARCH_PICOXCELL && HAVE_CLK 342 depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK
343 select CRYPTO_AEAD 343 select CRYPTO_AEAD
344 select CRYPTO_AES 344 select CRYPTO_AES
345 select CRYPTO_AUTHENC 345 select CRYPTO_AUTHENC