]> Git Repo - linux.git/commit
i2c: rcar: should depend on HAS_DMA
authorGeert Uytterhoeven <[email protected]>
Sun, 22 May 2016 07:38:35 +0000 (09:38 +0200)
committerWolfram Sang <[email protected]>
Thu, 26 May 2016 18:51:59 +0000 (20:51 +0200)
commit79439d8308bb12b4bdb2ca42fba2b71f1600b88b
tree08e86ab82de81da82dee10aa4660ee281f0e3f95
parent6aabf9d01facdcb6835272995b003956a9dabea0
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.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Niklas Söderlund <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
drivers/i2c/busses/Kconfig
This page took 0.041668 seconds and 4 git commands to generate.