浏览代码

mmc: dw_mmc: Add dependency on DMA

The dw_mmc drivers rely on the DMA API, so update the Kconfig entry
to depend on HAS_DMA.  Since the drivers should build on any platform
with DMA, allow the driver to compile tested on non-ARC/ARM platforms.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Andrew Bresticker 11 年之前
父节点
当前提交
0857c6912d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/mmc/host/Kconfig

+ 2 - 1
drivers/mmc/host/Kconfig

@@ -579,7 +579,8 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
 
 
 config MMC_DW
 config MMC_DW
 	tristate "Synopsys DesignWare Memory Card Interface"
 	tristate "Synopsys DesignWare Memory Card Interface"
-	depends on ARC || ARM
+	depends on HAS_DMA
+	depends on ARC || ARM || COMPILE_TEST
 	help
 	help
 	  This selects support for the Synopsys DesignWare Mobile Storage IP
 	  This selects support for the Synopsys DesignWare Mobile Storage IP
 	  block, this provides host support for SD and MMC interfaces, in both
 	  block, this provides host support for SD and MMC interfaces, in both