mmc: MMC_MTK should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 26 Jun 2015 12:09:26 +0000 (14:09 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 24 Jul 2015 08:18:33 +0000 (10:18 +0200)
commitc2b22fff7186f8a6bd6dbfe960ad00421ba82a52
tree1de3fde21efca9019e425c1b75447c584e5b27fd
parent7ac020366b0a436d726408841160b5dc32c19214
mmc: MMC_MTK should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "dma_alloc_coherent" [drivers/mmc/host/mtk-sd.ko] undefined!
    ERROR: "dma_unmap_sg" [drivers/mmc/host/mtk-sd.ko] undefined!
    ERROR: "dma_map_sg" [drivers/mmc/host/mtk-sd.ko] undefined!
    ERROR: "dma_free_coherent" [drivers/mmc/host/mtk-sd.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig