summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2016-01-15 14:48:06 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-18 18:16:34 +0800
commitcbafd643be4c01d9df994175d5e2fa8b3b1b86bb (patch)
tree9c5a676363d52589986cd17be57d96716464852e
parent5b57167749274961baf15ed1f05a4996b3ab0487 (diff)
downloadop-kernel-dev-cbafd643be4c01d9df994175d5e2fa8b3b1b86bb.zip
op-kernel-dev-cbafd643be4c01d9df994175d5e2fa8b3b1b86bb.tar.gz
crypto: CRYPTO_DEV_ATMEL_AES should depend on HAS_DMA
If NO_DMA=y: ERROR: "dma_unmap_sg" [drivers/crypto/atmel-aes.ko] undefined! ERROR: "dma_map_sg" [drivers/crypto/atmel-aes.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 3dd69df9..07d4942 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -381,6 +381,7 @@ config CRYPTO_DEV_BFIN_CRC
config CRYPTO_DEV_ATMEL_AES
tristate "Support for Atmel AES hw accelerator"
+ depends on HAS_DMA
depends on AT_XDMAC || AT_HDMAC || COMPILE_TEST
select CRYPTO_AES
select CRYPTO_AEAD
OpenPOWER on IntegriCloud