diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-24 05:27:38 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-27 05:09:38 -0500 |
commit | f7f9482e370981ebeeeac30bbdb9960807e332ee (patch) | |
tree | f3faa34cce49f92f38df244ac21365832d9ae243 /drivers | |
parent | d80388eca1b476125755a811676f76f138bbbe28 (diff) |
crypto: atmel - CRYPTO_DEV_ATMEL_TDES and CRYPTO_DEV_ATMEL_SHA should depend on HAS_DMA
If NO_DMA=y:
ERROR: "bad_dma_ops" [drivers/crypto/atmel-tdes.ko] undefined!
ERROR: "bad_dma_ops" [drivers/crypto/atmel-sha.ko] undefined!
Add dependencies on HAS_DMA to fix this.
Fixes: ceb4afb3086ab08f ("crypto: atmel - refine Kconfig dependencies")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 2cac445b02fd..69f7fc0dc84d 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -445,6 +445,7 @@ config CRYPTO_DEV_ATMEL_AES | |||
445 | 445 | ||
446 | config CRYPTO_DEV_ATMEL_TDES | 446 | config CRYPTO_DEV_ATMEL_TDES |
447 | tristate "Support for Atmel DES/TDES hw accelerator" | 447 | tristate "Support for Atmel DES/TDES hw accelerator" |
448 | depends on HAS_DMA | ||
448 | depends on ARCH_AT91 || COMPILE_TEST | 449 | depends on ARCH_AT91 || COMPILE_TEST |
449 | select CRYPTO_DES | 450 | select CRYPTO_DES |
450 | select CRYPTO_BLKCIPHER | 451 | select CRYPTO_BLKCIPHER |
@@ -458,6 +459,7 @@ config CRYPTO_DEV_ATMEL_TDES | |||
458 | 459 | ||
459 | config CRYPTO_DEV_ATMEL_SHA | 460 | config CRYPTO_DEV_ATMEL_SHA |
460 | tristate "Support for Atmel SHA hw accelerator" | 461 | tristate "Support for Atmel SHA hw accelerator" |
462 | depends on HAS_DMA | ||
461 | depends on ARCH_AT91 || COMPILE_TEST | 463 | depends on ARCH_AT91 || COMPILE_TEST |
462 | select CRYPTO_HASH | 464 | select CRYPTO_HASH |
463 | help | 465 | help |