aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-05-09 11:09:16 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-07-12 23:43:07 -0400
commitc471270d7a4161a8f1794202ad8338c0ec55759e (patch)
tree5ed5481624eeefe6036d2759a3f363ae41512c40 /drivers/mmc
parent916001fe33b7b4dc797f7b29ec8bc346c4369fa6 (diff)
mmc: sh_mobile_sdhi: prepare for conversion to the shdma base library
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Chris Ball <cjb@laptop.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 934b68e9efc3..b8d7004cf04a 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -145,10 +145,10 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
145 mmc_data->cd_gpio = p->cd_gpio; 145 mmc_data->cd_gpio = p->cd_gpio;
146 146
147 if (p->dma_slave_tx > 0 && p->dma_slave_rx > 0) { 147 if (p->dma_slave_tx > 0 && p->dma_slave_rx > 0) {
148 priv->param_tx.slave_id = p->dma_slave_tx; 148 priv->param_tx.shdma_slave.slave_id = p->dma_slave_tx;
149 priv->param_rx.slave_id = p->dma_slave_rx; 149 priv->param_rx.shdma_slave.slave_id = p->dma_slave_rx;
150 priv->dma_priv.chan_priv_tx = &priv->param_tx; 150 priv->dma_priv.chan_priv_tx = &priv->param_tx.shdma_slave;
151 priv->dma_priv.chan_priv_rx = &priv->param_rx; 151 priv->dma_priv.chan_priv_rx = &priv->param_rx.shdma_slave;
152 priv->dma_priv.alignment_shift = 1; /* 2-byte alignment */ 152 priv->dma_priv.alignment_shift = 1; /* 2-byte alignment */
153 mmc_data->dma = &priv->dma_priv; 153 mmc_data->dma = &priv->dma_priv;
154 } 154 }