Re: [PATCH] i2c: I2C_MT65XX should depend on HAS_DMA

From: Wolfram Sang
Date: Thu Jul 09 2015 - 16:10:52 EST


On Fri, Jun 26, 2015 at 02:12:10PM +0200, Geert Uytterhoeven wrote:
> If NO_DMA=y:
>
> ERROR: "dma_unmap_single" [drivers/i2c/busses/i2c-mt65xx.ko] undefined!
> ERROR: "dma_mapping_error" [drivers/i2c/busses/i2c-mt65xx.ko] undefined!
> ERROR: "dma_map_single" [drivers/i2c/busses/i2c-mt65xx.ko] undefined!
>
> Add a dependency on HAS_DMA to fix this.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied to for-current, thanks!

Attachment: signature.asc
Description: Digital signature