dmaengine: xgene_dma_init_ring_mngr() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 2 Apr 2015 09:50:56 +0000 (17:50 +0800)
committerVinod Koul <vinod.koul@intel.com>
Thu, 2 Apr 2015 10:27:46 +0000 (15:57 +0530)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xgene-dma.c

index 2383528..aa61935 100755 (executable)
@@ -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)))