提交 a3f92e8e 编写于 作者: K kbuild test robot 提交者: Vinod Koul

dmaengine: xgene_dma_init_ring_mngr() can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 fe90ced9
...@@ -1623,7 +1623,7 @@ static void xgene_dma_init_hw(struct xgene_dma *pdma) ...@@ -1623,7 +1623,7 @@ static void xgene_dma_init_hw(struct xgene_dma *pdma)
XGENE_DMA_DEV_ID_RD(val), XGENE_DMA_MAX_CHANNEL); 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) && if (ioread32(pdma->csr_ring + XGENE_DMA_RING_CLKEN) &&
(!ioread32(pdma->csr_ring + XGENE_DMA_RING_SRST))) (!ioread32(pdma->csr_ring + XGENE_DMA_RING_SRST)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册