summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/Makefile
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2017-08-30 14:22:12 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 15:03:53 +0200
commit1ac99066225bd0dab013f7a5f3c9f55453acd481 (patch)
tree596239321c8f677892b3d2823fb79b3bf7cafcad /drivers/mmc/host/Makefile
parentc34eda69ad4c8be618ee95627b3e9ea052cf2324 (diff)
downloadlinux-1ac99066225bd0dab013f7a5f3c9f55453acd481.tar.gz
linux-1ac99066225bd0dab013f7a5f3c9f55453acd481.tar.bz2
linux-1ac99066225bd0dab013f7a5f3c9f55453acd481.zip
mmc: mmci: stop building qcom dml as module
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>
Diffstat (limited to 'drivers/mmc/host/Makefile')
-rw-r--r--drivers/mmc/host/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 8c46766c000c..303f5cd46cd9 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -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