crypto: atmel - CRYPTO_DEV_ATMEL_TDES and CRYPTO_DEV_ATMEL_SHA should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Feb 2017 10:27:38 +0000 (11:27 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 27 Feb 2017 10:09:38 +0000 (18:09 +0800)
commitf7f9482e370981ebeeeac30bbdb9960807e332ee
treef3faa34cce49f92f38df244ac21365832d9ae243
parentd80388eca1b476125755a811676f76f138bbbe28
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>
drivers/crypto/Kconfig