Skip to content

Commit 1ac9906

Browse files
Srinivas-Kandagatlastorulf
authored andcommitted
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 <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent c34eda6 commit 1ac9906

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

drivers/mmc/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ config MMC_ARMMMCI
2424
If unsure, say N.
2525

2626
config MMC_QCOM_DML
27-
tristate "Qualcomm Data Mover for SD Card Controller"
27+
bool "Qualcomm Data Mover for SD Card Controller"
2828
depends on MMC_ARMMMCI && QCOM_BAM_DMA
2929
default y
3030
help

drivers/mmc/host/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
# Makefile for MMC/SD host controller drivers
33
#
44

5-
obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
6-
obj-$(CONFIG_MMC_QCOM_DML) += mmci_qcom_dml.o
5+
obj-$(CONFIG_MMC_ARMMMCI) += armmmci.o
6+
armmmci-y := mmci.o
7+
armmmci-$(CONFIG_MMC_QCOM_DML) += mmci_qcom_dml.o
78
obj-$(CONFIG_MMC_PXA) += pxamci.o
89
obj-$(CONFIG_MMC_MXC) += mxcmmc.o
910
obj-$(CONFIG_MMC_MXS) += mxs-mmc.o

0 commit comments

Comments
 (0)