summaryrefslogtreecommitdiffstats
path: root/drivers/dma/xgene-dma.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-04-02 11:50:56 +0200
committerVinod Koul <vinod.koul@intel.com>2015-04-02 12:27:46 +0200
commita3f92e8ebe1547705dfda9c04bacb31417510692 (patch)
treea0970099850cca307fc65f62e934020800faa898 /drivers/dma/xgene-dma.c
parentDocumentation: dma: Add documentation for the APM X-Gene SoC DMA device DTS b... (diff)
downloadlinux-a3f92e8ebe1547705dfda9c04bacb31417510692.tar.xz
linux-a3f92e8ebe1547705dfda9c04bacb31417510692.zip
dmaengine: xgene_dma_init_ring_mngr() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/xgene-dma.c')
-rwxr-xr-xdrivers/dma/xgene-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c
index 2383528881f2..aa61935ee706 100755
--- a/drivers/dma/xgene-dma.c
+++ b/drivers/dma/xgene-dma.c
@@ -1623,7 +1623,7 @@ static void xgene_dma_init_hw(struct xgene_dma *pdma)
XGENE_DMA_DEV_ID_RD(val), XGENE_DMA_MAX_CHANNEL);
}
-int xgene_dma_init_ring_mngr(struct xgene_dma *pdma)
+static int xgene_dma_init_ring_mngr(struct xgene_dma *pdma)
{
if (ioread32(pdma->csr_ring + XGENE_DMA_RING_CLKEN) &&
(!ioread32(pdma->csr_ring + XGENE_DMA_RING_SRST)))