aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/at_hdmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/at_hdmac.c')
-rw-r--r--drivers/dma/at_hdmac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 3934fcc4e00b..7e5f6b65c651 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -841,12 +841,13 @@ atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
841 * @buf_len: total number of bytes for the entire buffer 841 * @buf_len: total number of bytes for the entire buffer
842 * @period_len: number of bytes for each period 842 * @period_len: number of bytes for each period
843 * @direction: transfer direction, to or from device 843 * @direction: transfer direction, to or from device
844 * @flags: tx descriptor status flags
844 * @context: transfer context (ignored) 845 * @context: transfer context (ignored)
845 */ 846 */
846static struct dma_async_tx_descriptor * 847static struct dma_async_tx_descriptor *
847atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, 848atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
848 size_t period_len, enum dma_transfer_direction direction, 849 size_t period_len, enum dma_transfer_direction direction,
849 void *context) 850 unsigned long flags, void *context)
850{ 851{
851 struct at_dma_chan *atchan = to_at_dma_chan(chan); 852 struct at_dma_chan *atchan = to_at_dma_chan(chan);
852 struct at_dma_slave *atslave = chan->private; 853 struct at_dma_slave *atslave = chan->private;