aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-06 06:35:13 -0400
committerVinod Koul <vinod.koul@intel.com>2013-08-13 07:24:42 -0400
commit69c9f0ae1d5fe398a494fafac76cc35f3a6677ef (patch)
tree2bb356f32a74f8e9eae3450f9ff0f0b788deb684 /drivers/dma
parent26a2dfdeb9b93b82735d2227a118afa0ddd912dd (diff)
dma: mmp_pdma: Staticize mmp_pdma_alloc_descriptor()
mmp_pdma_alloc_descriptor() is used only in this file. Fix the following sparse warning: drivers/dma/mmp_pdma.c:359:25: warning: symbol 'mmp_pdma_alloc_descriptor' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/mmp_pdma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 9a32f2d174b0..3bf9c9154919 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -356,7 +356,8 @@ static dma_cookie_t mmp_pdma_tx_submit(struct dma_async_tx_descriptor *tx)
356 return cookie; 356 return cookie;
357} 357}
358 358
359struct mmp_pdma_desc_sw *mmp_pdma_alloc_descriptor(struct mmp_pdma_chan *chan) 359static struct mmp_pdma_desc_sw *
360mmp_pdma_alloc_descriptor(struct mmp_pdma_chan *chan)
360{ 361{
361 struct mmp_pdma_desc_sw *desc; 362 struct mmp_pdma_desc_sw *desc;
362 dma_addr_t pdesc; 363 dma_addr_t pdesc;