dmaengine/dma_slave: introduce inline wrappers
[linux-2.6-block.git] / arch / arm / plat-samsung / dma-ops.c
index 0747c77a2fd53d0d2a66a1f1f2377b3d7e7722f6..a6ef3961134ce668df966493e9bf31edd6138b31 100644 (file)
@@ -79,11 +79,11 @@ static int samsung_dmadev_prepare(unsigned ch,
                            info->len, offset_in_page(info->buf));
                sg_dma_address(&sg) = info->buf;
 
-               desc = chan->device->device_prep_slave_sg(chan,
+               desc = dmaengine_prep_slave_sg(chan,
                        &sg, 1, info->direction, DMA_PREP_INTERRUPT);
                break;
        case DMA_CYCLIC:
-               desc = chan->device->device_prep_dma_cyclic(chan,
+               desc = dmaengine_prep_dma_cyclic(chan,
                        info->buf, info->len, info->period, info->direction);
                break;
        default: