]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dmaengine: jz4780: make jz4780_dma_prep_dma_memcpy static
authorVinod Koul <vinod.koul@intel.com>
Fri, 2 Sep 2016 09:57:55 +0000 (15:27 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:57:23 +0000 (22:27 +0530)
Sparse complains:
drivers/dma/dma-jz4780.c:399:32: warning: symbol
'jz4780_dma_prep_dma_memcpy' was not declared. Should it be static?

So make this static

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dma-jz4780.c

index dade7c47ff18451d23fc416c88768f6e12e457ec..c36c14c3f32c2b9b3ab5d5de3524018e58704a7b 100644 (file)
@@ -396,7 +396,7 @@ static struct dma_async_tx_descriptor *jz4780_dma_prep_dma_cyclic(
        return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags);
 }
 
-struct dma_async_tx_descriptor *jz4780_dma_prep_dma_memcpy(
+static struct dma_async_tx_descriptor *jz4780_dma_prep_dma_memcpy(
        struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
        size_t len, unsigned long flags)
 {