mmc: dw_mmc: Add dependency on DMA
authorAndrew Bresticker <abrestic@chromium.org>
Thu, 14 Aug 2014 16:45:27 +0000 (09:45 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:03 +0000 (13:59 +0200)
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>
drivers/mmc/host/Kconfig

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