]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
mmc: mmci: stop building qcom dml as module
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 30 Aug 2017 12:22:12 +0000 (14:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:53 +0000 (15:03 +0200)
It does not make sense for qcom dml code to be a seperate module, as
this has just 2 helper functions specific to qcom, and used directly by
mmci driver, so just compile this along with main mmci driver.

This would also fix issues arrising due to Kconfig combinations between
mmci and qcom dml.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile

index 60f90d49e7a9526b9afd5e9ab7f5fedf9eb67fc1..02179ed2a40d7a87d0d1ae7ed43e95388ef36a72 100644 (file)
@@ -24,7 +24,7 @@ config MMC_ARMMMCI
          If unsure, say N.
 
 config MMC_QCOM_DML
-       tristate "Qualcomm Data Mover for SD Card Controller"
+       bool "Qualcomm Data Mover for SD Card Controller"
        depends on MMC_ARMMMCI && QCOM_BAM_DMA
        default y
        help
index 8c46766c000cba5b591deb5473e6497572533758..303f5cd46cd9092171117639fcb2da5733dde146 100644 (file)
@@ -2,8 +2,9 @@
 # Makefile for MMC/SD host controller drivers
 #
 
-obj-$(CONFIG_MMC_ARMMMCI)      += mmci.o
-obj-$(CONFIG_MMC_QCOM_DML)     += mmci_qcom_dml.o
+obj-$(CONFIG_MMC_ARMMMCI) += armmmci.o
+armmmci-y := mmci.o
+armmmci-$(CONFIG_MMC_QCOM_DML) += mmci_qcom_dml.o
 obj-$(CONFIG_MMC_PXA)          += pxamci.o
 obj-$(CONFIG_MMC_MXC)          += mxcmmc.o
 obj-$(CONFIG_MMC_MXS)          += mxs-mmc.o