dmaengine: xilinx: xdma: statify xdma_prep_interleaved_dma
Subsystems (3)
Vinod Koul
maintainerPATCH 1/1 dmaengine: xilinx: xdma: statify xdma_prep_interleaved_dma
xdma_prep_interleaved_dma() was local to file but not declared static, leading to warning:
drivers/dma/xilinx/xdma.c:729:1: warning: no previous prototype for 'xdma_prep_interleaved_dma' [-Wmissing-prototypes]
729 | xdma_prep_interleaved_dma(struct dma_chan *chan
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- drivers/dma/xilinx/xdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/xilinx/xdma.c +1 -1
@@ -725,7 +725,7 @@ xdma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t address,* @xt: DMA transfer template * @flags: tx flags */ -struct dma_async_tx_descriptor * +static struct dma_async_tx_descriptor *xdma_prep_interleaved_dma (struct dma_chan *chan,struct dma_interleaved_template *xt,unsigned long flags)
Signature · 1 line
2.43.0