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

2016-05-26 Thread Wolfram Sang
On Sun, May 22, 2016 at 09:38:35AM +0200, Geert Uytterhoeven wrote: > 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+0x6

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

2016-05-22 Thread Niklas Söderlund
Hi Geert, On 2016-05-22 09:38:35 +0200, Geert Uytterhoeven wrote: > 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+0x6f

[PATCH] i2c: I2C_RCAR should depend on HAS_DMA

2016-05-22 Thread Geert Uytterhoeven
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): un