Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1723257 > unrolled thread
| Started by | srinivas.kandagatla@linaro.org |
|---|---|
| First post | 2017-08-30 14:30 +0200 |
| Last post | 2017-08-30 15:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v2] mmc: mmci: stop building qcom dml as module srinivas.kandagatla@linaro.org - 2017-08-30 14:30 +0200
Re: [PATCH v2] mmc: mmci: stop building qcom dml as module Ulf Hansson <ulf.hansson@linaro.org> - 2017-08-30 15:20 +0200
| From | srinivas.kandagatla@linaro.org |
|---|---|
| Date | 2017-08-30 14:30 +0200 |
| Subject | [PATCH v2] mmc: mmci: stop building qcom dml as module |
| Message-ID | <ukai6-8hx-37@gated-at.bofh.it> |
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 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> --- drivers/mmc/host/Kconfig | 2 +- drivers/mmc/host/Makefile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 5755b69..3345384 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -15,7 +15,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 diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile index 4d45471..ef12fd2 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 -- 2.9.3
[toc] | [next] | [standalone]
| From | Ulf Hansson <ulf.hansson@linaro.org> |
|---|---|
| Date | 2017-08-30 15:20 +0200 |
| Message-ID | <ukb4v-li-37@gated-at.bofh.it> |
| In reply to | #1723257 |
On 30 August 2017 at 14:22, <srinivas.kandagatla@linaro.org> wrote: > From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > > 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> Thanks, applied for next! Kind regards Uffe > --- > drivers/mmc/host/Kconfig | 2 +- > drivers/mmc/host/Makefile | 5 +++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig > index 5755b69..3345384 100644 > --- a/drivers/mmc/host/Kconfig > +++ b/drivers/mmc/host/Kconfig > @@ -15,7 +15,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 > diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile > index 4d45471..ef12fd2 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 > -- > 2.9.3 >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web