diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-06-26 14:12:10 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-07-09 22:10:20 +0200 |
commit | fc0a1f035cf15f704f4092da294963c57e94c1c0 (patch) | |
tree | fae534ac44479badcece43446bf0697e405fdbf0 /drivers/i2c | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-fc0a1f035cf15f704f4092da294963c57e94c1c0.tar.xz linux-fc0a1f035cf15f704f4092da294963c57e94c1c0.zip |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 35ac23768ce9..577d58d1f1a1 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -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. |