mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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 <geert@linux-m68k.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
d770e558e2
commit
fc0a1f035c
1 changed files with 1 additions and 0 deletions
|
@ -633,6 +633,7 @@ config I2C_MPC
|
|||
config I2C_MT65XX
|
||||
tristate "MediaTek I2C adapter"
|
||||
depends on ARCH_MEDIATEK || COMPILE_TEST
|
||||
depends on HAS_DMA
|
||||
help
|
||||
This selects the MediaTek(R) Integrated Inter Circuit bus driver
|
||||
for MT65xx and MT81xx.
|
||||
|
|
Loading…
Add table
Reference in a new issue