Merge tag 'for-linus-3.4' of git://git.infradead.org/mtd-2.6
[linux-2.6-block.git] / drivers / mmc / host / mxs-mmc.c
index 4062812136ef66b215666c3d5715a65c42ed2b26..b0f2ef9881883df42f5513eb3f1f0479e6c83653 100644 (file)
@@ -324,7 +324,7 @@ static struct dma_async_tx_descriptor *mxs_mmc_prep_dma(
                sg_len = SSP_PIO_NUM;
        }
 
-       desc = host->dmach->device->device_prep_slave_sg(host->dmach,
+       desc = dmaengine_prep_slave_sg(host->dmach,
                                sgl, sg_len, host->slave_dirn, flags);
        if (desc) {
                desc->callback = mxs_mmc_dma_irq_callback;