History

i2c: rcar: should depend on HAS_DMA

If NO_DMA=y: drivers/built-in.o: In function `rcar_i2c_dma_unmap': i2c-rcar.c:(.text+0x6f06c6): undefined reference to `bad_dma_ops' drivers/built-in.o: In function `rcar_i2c_dma': i2c-rcar.c:(.text+0x6f07e2): undefined reference to `bad_dma_ops' i2c-rcar.c:(.text+0x6f0838): undefined reference to `bad_dma_ops' Add a dependency on HAS_DMA to fix this.

Geert Uytterhoeven committed 10 years ago

Commit 79439d81 parent 6aabf9d1 file · +1 −0Browse files

Unified · Split

drivers/i2c/busses/Kconfig+1−0
@@ -985,6 +985,7 @@ config I2C_XLP9XX · 984 unmodified lines
985 985
986config I2C_RCAR986config I2C_RCAR
987 tristate "Renesas R-Car I2C Controller"987 tristate "Renesas R-Car I2C Controller"
988 depends on HAS_DMA
988 depends on ARCH_RENESAS || COMPILE_TEST989 depends on ARCH_RENESAS || COMPILE_TEST
989 select I2C_SLAVE990 select I2C_SLAVE
990 help991 help