mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
dmaengine: xgene_dma_init_ring_mngr() can be static
Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
fe90ced9e9
commit
a3f92e8ebe
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue