]> Pileus Git - ~andy/linux/commitdiff
mmc: msm_sdcc: Limit driver to platforms that use it
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 30 Dec 2013 21:15:28 +0000 (13:15 -0800)
committerOlof Johansson <olof@lixom.net>
Thu, 9 Jan 2014 08:06:53 +0000 (00:06 -0800)
The msm_sdcc driver uses mach specific dma APIs. This is not
compatible with the multi-platform ARM effort. Let's only compile
this driver on MSM devices that are prepared to support it,
allowing the DT based MSM devices to enter the multi-platform ARM
build.

Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/mmc/host/Kconfig

index 7fc5099e44b2ccf6c4b4164f37d1343d177e7d5e..4e8ca9d5570f80b40fc1c174521a0812c1c8a367 100644 (file)
@@ -324,7 +324,7 @@ config MMC_ATMELMCI
 
 config MMC_MSM
        tristate "Qualcomm SDCC Controller Support"
-       depends on MMC && ARCH_MSM
+       depends on MMC && (ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50)
        help
          This provides support for the SD/MMC cell found in the
          MSM and QSD SOCs from Qualcomm. The controller also has