提交 a6876543 编写于 作者: V Vinod Koul

dmaengine: sh: make shdma_prep_dma_cyclic static

kbuild test robot reports that shdma_prep_dma_cyclic should be static, since
symbol is not declared, quick check revails that is the case

>> drivers/dma/sh/shdma-base.c:660:32: sparse: symbol 'shdma_prep_dma_cyclic'
>> was not declared. Should it be static?
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 654fa249
......@@ -657,7 +657,7 @@ static struct dma_async_tx_descriptor *shdma_prep_slave_sg(
direction, flags, false);
}
struct dma_async_tx_descriptor *shdma_prep_dma_cyclic(
static struct dma_async_tx_descriptor *shdma_prep_dma_cyclic(
struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
size_t period_len, enum dma_transfer_direction direction,
unsigned long flags, void *context)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册