Re: [PATCH] crypto: CRYPTO_DEV_IMGTEC_HASH should depend on HAS_DMA

From: Herbert Xu
Date: Fri Apr 24 2015 - 08:20:56 EST


On Thu, Apr 23, 2015 at 08:03:58PM +0200, Geert Uytterhoeven wrote:
> 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@xxxxxxxxxxxxxx>

Applied.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/