diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-09-02 09:57:55 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 16:57:23 (GMT) |
commit | 4f5db8c8f8ee965436de24256bbd7a01778d4cdb (patch) | |
tree | 686b974c14e49dbbdba034945d309cdc4102f2ee /drivers/dma | |
parent | a952b28788b5356780447ba23e89ea7365b19a1f (diff) | |
download | linux-4f5db8c8f8ee965436de24256bbd7a01778d4cdb.tar.xz |
dmaengine: jz4780: make jz4780_dma_prep_dma_memcpy static
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/dma-jz4780.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c index dade7c4..c36c14c 100644 --- a/drivers/dma/dma-jz4780.c +++ b/drivers/dma/dma-jz4780.c @@ -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) { |