summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-06-02 09:22:03 +0530
committerVinod Koul <vinod.koul@intel.com>2014-06-03 11:34:47 +0530
commita68765430772fac92ad4f0dd9e33d31b4276546e (patch)
tree3c8a5b4152720c820a032f8fc9c26c6a0d3a8732 /drivers/dma
parent654fa24965aafcb4bb8a1a14400c5ecea3be76b6 (diff)
dmaengine: sh: make shdma_prep_dma_cyclic static
kbuild test robot reports that shdma_prep_dma_cyclic should be static, since symbol is not declared, quick check revails that is the case >> drivers/dma/sh/shdma-base.c:660:32: sparse: symbol 'shdma_prep_dma_cyclic' >> was not declared. Should it be static? Reported-by: kbuild test robot <fengguang.wu@intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/sh/shdma-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/shdma-base.c b/drivers/dma/sh/shdma-base.c
index 974794cdb6ed..66b4a35f7bd1 100644
--- a/drivers/dma/sh/shdma-base.c
+++ b/drivers/dma/sh/shdma-base.c
@@ -657,7 +657,7 @@ static struct dma_async_tx_descriptor *shdma_prep_slave_sg(
direction, flags, false);
}
-struct dma_async_tx_descriptor *shdma_prep_dma_cyclic(
+static struct dma_async_tx_descriptor *shdma_prep_dma_cyclic(
struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
size_t period_len, enum dma_transfer_direction direction,
unsigned long flags, void *context)