提交 4f48e29f 编写于 作者: M Mao Wenan 提交者: Vinod Koul

dmaengine: make mux_configure32 static

There is one sparse warning in drivers/dma/fsl-edma-common.c:
drivers/dma/fsl-edma-common.c:93:6: warning: symbol 'mux_configure32'
was not declared. Should it be static?

Fix it by setting mux_configure32() as static.

Fixes: 232a7f18 ("dmaengine: fsl-edma: add i.mx7ulp edma2 version support")
Signed-off-by: NMao Wenan <maowenan@huawei.com>
Link: https://lore.kernel.org/r/20190814072105.144107-2-maowenan@huawei.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 698f7a9b
...@@ -90,7 +90,7 @@ static void mux_configure8(struct fsl_edma_chan *fsl_chan, void __iomem *addr, ...@@ -90,7 +90,7 @@ static void mux_configure8(struct fsl_edma_chan *fsl_chan, void __iomem *addr,
iowrite8(val8, addr + off); iowrite8(val8, addr + off);
} }
void mux_configure32(struct fsl_edma_chan *fsl_chan, void __iomem *addr, static void mux_configure32(struct fsl_edma_chan *fsl_chan, void __iomem *addr,
u32 off, u32 slot, bool enable) u32 off, u32 slot, bool enable)
{ {
u32 val; u32 val;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册