summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven2017-02-24 11:27:39 +0100
committerHerbert Xu2017-02-27 11:09:39 +0100
commitc884b36816c131906038cdac4773f6c84a5bf3ee (patch)
treead1b5f83c8f3174c571ff7902b0115f24dcf34cb /drivers/crypto/Kconfig
parentcrypto: atmel - CRYPTO_DEV_ATMEL_TDES and CRYPTO_DEV_ATMEL_SHA should depend ... (diff)
downloadkernel-qcow2-linux-c884b36816c131906038cdac4773f6c84a5bf3ee.tar.gz
kernel-qcow2-linux-c884b36816c131906038cdac4773f6c84a5bf3ee.tar.xz
kernel-qcow2-linux-c884b36816c131906038cdac4773f6c84a5bf3ee.zip
crypto: atmel - CRYPTO_DEV_MEDIATEK should depend on HAS_DMA
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/crypto/mediatek/mtk-crypto.ko] undefined! Add a dependency on HAS_DMA to fix this. Fixes: 7dee9f618790d0b7 ("crypto: mediatek - remove ARM dependencies") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 69f7fc0dc84d..a7ff6e5d0ba9 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -571,6 +571,7 @@ config CRYPTO_DEV_ROCKCHIP
config CRYPTO_DEV_MEDIATEK
tristate "MediaTek's EIP97 Cryptographic Engine driver"
+ depends on HAS_DMA
depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST
select CRYPTO_AES
select CRYPTO_AEAD