summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-18 01:28:04 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2018-01-18 09:08:56 +0100
commitbc45719c1b1a56047246d44c7e4ed88a8ae702c1 (patch)
tree359d9d0ea79497ab52e41603496bcdcc484d4696 /drivers/mmc/host/tmio_mmc.c
parent6fb294f791af8f491812d4eef6b13a57c9c1de34 (diff)
downloadlinux-bc45719c1b1a56047246d44c7e4ed88a8ae702c1.tar.gz
linux-bc45719c1b1a56047246d44c7e4ed88a8ae702c1.tar.bz2
linux-bc45719c1b1a56047246d44c7e4ed88a8ae702c1.zip
mmc: tmio: remove dma_ops from tmio_mmc_host_probe() argument
Drivers need to set up various struct members for tmio_mmc_host before calling tmio_mmc_host_probe(). Do likewise for host->dma_ops instead of passing it as a function argument. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.c')
-rw-r--r--drivers/mmc/host/tmio_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 11b87ce54764..43a2ea5cff24 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -104,7 +104,7 @@ static int tmio_mmc_probe(struct platform_device *pdev)
host->mmc->f_max = pdata->hclk;
host->mmc->f_min = pdata->hclk / 512;
- ret = tmio_mmc_host_probe(host, NULL);
+ ret = tmio_mmc_host_probe(host);
if (ret)
goto host_free;