aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/timb_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/timb_dma.c')
-rw-r--r--drivers/dma/timb_dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 44b346d8d319..0172fa3c7a2b 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -611,7 +611,8 @@ static struct dma_async_tx_descriptor *td_prep_slave_sg(struct dma_chan *chan,
611 return &td_desc->txd; 611 return &td_desc->txd;
612} 612}
613 613
614static int td_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd) 614static int td_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
615 unsigned long arg)
615{ 616{
616 struct timb_dma_chan *td_chan = 617 struct timb_dma_chan *td_chan =
617 container_of(chan, struct timb_dma_chan, chan); 618 container_of(chan, struct timb_dma_chan, chan);