Skip to content

Commit 3d0b217

Browse files
committed
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 <sfr@canb.auug.org.au> Signed-off-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20231222094001.731889-1-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent bbcd7b5 commit 3d0b217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/xilinx/xdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ xdma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t address,
725725
* @xt: DMA transfer template
726726
* @flags: tx flags
727727
*/
728-
struct dma_async_tx_descriptor *
728+
static struct dma_async_tx_descriptor *
729729
xdma_prep_interleaved_dma(struct dma_chan *chan,
730730
struct dma_interleaved_template *xt,
731731
unsigned long flags)

0 commit comments

Comments
 (0)