dmaengine/dma_slave: introduce inline wrappers
[linux-2.6-block.git] / drivers / media / video / mx3_camera.c
index 74522773e934c18e417f36b36aed40017b35e02f..93c35ef5f0adc30dc89831c55cd425e69db7c756 100644 (file)
@@ -286,7 +286,7 @@ static void mx3_videobuf_queue(struct vb2_buffer *vb)
                sg_dma_address(sg)      = vb2_dma_contig_plane_dma_addr(vb, 0);
                sg_dma_len(sg)          = new_size;
 
-               txd = ichan->dma_chan.device->device_prep_slave_sg(
+               txd = dmaengine_prep_slave_sg(
                        &ichan->dma_chan, sg, 1, DMA_DEV_TO_MEM,
                        DMA_PREP_INTERRUPT);
                if (!txd)