summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2018-07-16 13:08:18 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-08-01 12:01:13 +0200
commit29aba07aea0e36c996001ca3f8997316ebefe0e1 (patch)
tree98061416a2b2ac0e84b722141fc0c7e12be3a2da /drivers/mmc/host/mmci.h
parented9067fd5f299db7110861a0434d0e2ffb961649 (diff)
downloadlinux-29aba07aea0e36c996001ca3f8997316ebefe0e1.tar.bz2
mmc: mmci: Add and implement a ->dma_setup() callback for qcom dml
As a first step to improve the variant specific code for mmci, add a ->dma_setup() callback to the struct mmci_host_ops. To show its use, let's deploy the callback for the qcom dml, which involves also to the assign the mmci_host_ops pointer from the variant ->init() callback. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Ludovic Barre <ludovic.barre@st.com>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r--drivers/mmc/host/mmci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index f2eff0cc6934..517591d219e9 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -273,6 +273,7 @@ struct variant_data {
/* mmci variant callbacks */
struct mmci_host_ops {
+ void (*dma_setup)(struct mmci_host *host);
};
struct mmci_host_next {