From: Geert Uytterhoeven Date: Fri, 26 Jun 2015 12:12:10 +0000 (+0200) Subject: i2c: I2C_MT65XX should depend on HAS_DMA X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0a1f035cf15f704f4092da294963c57e94c1c0;p=pandora-kernel.git i2c: I2C_MT65XX should depend on HAS_DMA 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 Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed