dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / dma / shdma.c
index 5c4088603dd4645560098bb3f6e3eb25aeec2c66..19d7a8d3975dc0a1a6c864eba39257fd41cf2ccf 100644 (file)
@@ -669,7 +669,8 @@ static struct dma_async_tx_descriptor *sh_dmae_prep_memcpy(
 
 static struct dma_async_tx_descriptor *sh_dmae_prep_slave_sg(
        struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len,
-       enum dma_transfer_direction direction, unsigned long flags)
+       enum dma_transfer_direction direction, unsigned long flags,
+       void *context)
 {
        struct sh_dmae_slave *param;
        struct sh_dmae_chan *sh_chan;