diff options
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r-- | drivers/mmc/host/mmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index a09c06ba046c..c55f9663eb13 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -413,7 +413,7 @@ static int mmci_dma_prep_data(struct mmci_host *host, struct mmc_data *data, | |||
413 | return -EINVAL; | 413 | return -EINVAL; |
414 | 414 | ||
415 | dmaengine_slave_config(chan, &conf); | 415 | dmaengine_slave_config(chan, &conf); |
416 | desc = device->device_prep_slave_sg(chan, data->sg, nr_sg, | 416 | desc = dmaengine_prep_slave_sg(chan, data->sg, nr_sg, |
417 | conf.direction, DMA_CTRL_ACK); | 417 | conf.direction, DMA_CTRL_ACK); |
418 | if (!desc) | 418 | if (!desc) |
419 | goto unmap_exit; | 419 | goto unmap_exit; |