summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc_pio.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-01-13 04:57:42 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2015-01-20 10:22:17 +0100
commitdfe9a229e0a66b6a00439cea2885ad3b5d3e0840 (patch)
tree3ba6efbb82b31fa69a98df9bd81b3168de110a58 /drivers/mmc/host/tmio_mmc_pio.c
parent7ecc09bab1e856e6730a4dd8a3bc1c28bb6ab3be (diff)
downloadtalos-obmc-linux-dfe9a229e0a66b6a00439cea2885ad3b5d3e0840.tar.gz
talos-obmc-linux-dfe9a229e0a66b6a00439cea2885ad3b5d3e0840.zip
mmc: tmio: tmio_mmc_host has .write16_hook
Current .write16_hook is implemented under tmio_mmc_data. It goes to tmio_mmc_host by this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc_pio.c')
-rw-r--r--drivers/mmc/host/tmio_mmc_pio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c
index 396be0e95a98..58f4e47aac8c 100644
--- a/drivers/mmc/host/tmio_mmc_pio.c
+++ b/drivers/mmc/host/tmio_mmc_pio.c
@@ -1092,7 +1092,7 @@ int tmio_mmc_host_probe(struct tmio_mmc_host *_host,
tmio_mmc_of_parse(pdev, pdata);
if (!(pdata->flags & TMIO_MMC_HAS_IDLE_WAIT))
- pdata->write16_hook = NULL;
+ _host->write16_hook = NULL;
res_ctl = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!res_ctl)
OpenPOWER on IntegriCloud