crypto: marvell/cesa - remove COMPILE_TEST dependency
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 22 Jun 2015 07:22:14 +0000 (09:22 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Jun 2015 07:49:48 +0000 (15:49 +0800)
The CESA driver calls phys_to_virt() which is not available on all
architectures.
Remove the depency on COMPILE_TEST to prevent building this driver on
non ARM architectures.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Suggested-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig

index fd69aa04b475a8f3cabef4211b3de90e19cccd02..4044125fb5d5fa7589e2cbcb12623546d0effa75 100644 (file)
@@ -175,7 +175,7 @@ config CRYPTO_DEV_MV_CESA
 
 config CRYPTO_DEV_MARVELL_CESA
        tristate "New Marvell's Cryptographic Engine driver"
-       depends on (PLAT_ORION || ARCH_MVEBU || COMPILE_TEST) && HAS_DMA && HAS_IOMEM
+       depends on PLAT_ORION || ARCH_MVEBU
        select CRYPTO_AES
        select CRYPTO_DES
        select CRYPTO_BLKCIPHER