]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
mmc: MMC_SDHI_{SYS,INTERNAL}_DMAC should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 30 Jan 2018 13:24:40 +0000 (14:24 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 31 Jan 2018 10:27:23 +0000 (11:27 +0100)
commit56174d9a21496fce64fcc6ba2f475734c20c12e4
tree385b31a80e92049004c442a0bebbbb15075cc956
parentbd9b902798ab14d19ca116b10bde581ddff8f905
mmc: MMC_SDHI_{SYS,INTERNAL}_DMAC should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "bad_dma_ops" [drivers/mmc/host/renesas_sdhi_sys_dmac.ko] undefined!
    ERROR: "bad_dma_ops" [drivers/mmc/host/renesas_sdhi_internal_dmac.ko] undefined!

Add dependencies on HAS_DMA to fix this.

Fixes: e578afab6e5f57e7 ("mmc: renesas_sdhi: remove wrong depends on to enable compile test")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig