diff mbox

[slave-dma] dmaengine: xgene_dma_init_ring_mngr() can be static

Message ID 20150402095056.GA40033@snb (mailing list archive)
State Accepted
Headers show

Commit Message

Fengguang Wu April 2, 2015, 9:50 a.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 xgene-dma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Vinod Koul April 2, 2015, 10:28 a.m. UTC | #1
On Thu, Apr 02, 2015 at 05:50:56PM +0800, kbuild test robot wrote:
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>  xgene-dma.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c
> index 2383528..aa61935 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)))

Applied thanks
diff mbox

Patch

diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c
index 2383528..aa61935 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)))