crypto: img-hash - CRYPTO_DEV_IMGTEC_HASH should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 23 Apr 2015 18:03:58 +0000 (20:03 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Apr 2015 12:14:09 +0000 (20:14 +0800)
commit8c98ebd7a6ff6ef352bb4c5516a8849b40b5ef6b
tree1ee225e2194e89c983820ebf98976377fefe92ce
parent00425bb181c204c8f250fec122e2817a930e0286
crypto: img-hash - CRYPTO_DEV_IMGTEC_HASH should depend on HAS_DMA

If NO_DMA=y:

    drivers/built-in.o: In function `img_hash_write_via_dma_stop':
    img-hash.c:(.text+0xa2b822): undefined reference to `dma_unmap_sg'
    drivers/built-in.o: In function `img_hash_xmit_dma':
    img-hash.c:(.text+0xa2b8d8): undefined reference to `dma_map_sg'
    img-hash.c:(.text+0xa2b948): undefined reference to `dma_unmap_sg'

Also move the "depends" section below the "tristate" line while we're at
it.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig