summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorMao Wenan <maowenan@huawei.com>2019-08-14 15:21:04 +0800
committerVinod Koul <vkoul@kernel.org>2019-08-20 17:09:34 +0530
commit4f48e29f7673726a8c1a18b10906ccd58a031b95 (patch)
tree4b4f83cd975b857ca0aa8d818f19c1947cd1e221 /drivers/dma
parent698f7a9be9b2389384c69750d87a0c68202c0621 (diff)
downloadlinux-4f48e29f7673726a8c1a18b10906ccd58a031b95.tar.gz
linux-4f48e29f7673726a8c1a18b10906ccd58a031b95.tar.bz2
linux-4f48e29f7673726a8c1a18b10906ccd58a031b95.zip
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: 232a7f18cf8ec ("dmaengine: fsl-edma: add i.mx7ulp edma2 version support") Signed-off-by: Mao Wenan <maowenan@huawei.com> Link: https://lore.kernel.org/r/20190814072105.144107-2-maowenan@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/fsl-edma-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index 6d6d8a4e8e38..264c448de409 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dma/fsl-edma-common.c
@@ -90,7 +90,7 @@ static void mux_configure8(struct fsl_edma_chan *fsl_chan, void __iomem *addr,
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 val;