aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-06-04 07:39:45 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-06-07 04:23:25 -0400
commit5a67ac572e102f7d877b8a3a18a59315186e3e99 (patch)
treeb6da8648ab70dba5354b13064a4d5891df91c0ff /drivers/dma
parent8e2e27c7444ba7880aa0a4cb07a79de130d0ed93 (diff)
DMA: PL330: Add missing static storage class specifier
Fixes the following sparse warning: drivers/dma/pl330.c:2542:5: warning: symbol 'add_desc' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/pl330.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 6d550421da7a..3ce7d553a746 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2539,7 +2539,7 @@ static inline void _init_desc(struct dma_pl330_desc *desc)
2539} 2539}
2540 2540
2541/* Returns the number of descriptors added to the DMAC pool */ 2541/* Returns the number of descriptors added to the DMAC pool */
2542int add_desc(struct dma_pl330_dmac *pdmac, gfp_t flg, int count) 2542static int add_desc(struct dma_pl330_dmac *pdmac, gfp_t flg, int count)
2543{ 2543{
2544 struct dma_pl330_desc *desc; 2544 struct dma_pl330_desc *desc;
2545 unsigned long flags; 2545 unsigned long flags;