diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-04 06:09:48 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-16 10:49:03 -0400 |
commit | 0422e30458d6cd9e8dd27913b6a3a72db47eadab (patch) | |
tree | 72f30f0dbdb5436b254a99c13ddcd1e6d4b7b59d /drivers/dma | |
parent | a46018929b35f551e29302a89de5ef20c1cfd4f8 (diff) |
dmaengine: mmp_tdma: statify symbols
Sparse complains:
drivers/dma/mmp_tdma.c:407:22: warning: symbol 'mmp_tdma_alloc_descriptor' was not declared. Should it be static?
drivers/dma/mmp_tdma.c:595:17: warning: symbol 'mmp_tdma_xlate' was not declared. Should it be static?
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Cc: Qiao Zhou <zhouqiao@marvell.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/mmp_tdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index ba7f412696c9..b3441f57a364 100644 --- a/drivers/dma/mmp_tdma.c +++ b/drivers/dma/mmp_tdma.c | |||
@@ -404,7 +404,7 @@ static void mmp_tdma_free_chan_resources(struct dma_chan *chan) | |||
404 | return; | 404 | return; |
405 | } | 405 | } |
406 | 406 | ||
407 | struct mmp_tdma_desc *mmp_tdma_alloc_descriptor(struct mmp_tdma_chan *tdmac) | 407 | static struct mmp_tdma_desc *mmp_tdma_alloc_descriptor(struct mmp_tdma_chan *tdmac) |
408 | { | 408 | { |
409 | struct gen_pool *gpool; | 409 | struct gen_pool *gpool; |
410 | int size = tdmac->desc_num * sizeof(struct mmp_tdma_desc); | 410 | int size = tdmac->desc_num * sizeof(struct mmp_tdma_desc); |
@@ -592,7 +592,7 @@ static bool mmp_tdma_filter_fn(struct dma_chan *chan, void *fn_param) | |||
592 | return true; | 592 | return true; |
593 | } | 593 | } |
594 | 594 | ||
595 | struct dma_chan *mmp_tdma_xlate(struct of_phandle_args *dma_spec, | 595 | static struct dma_chan *mmp_tdma_xlate(struct of_phandle_args *dma_spec, |
596 | struct of_dma *ofdma) | 596 | struct of_dma *ofdma) |
597 | { | 597 | { |
598 | struct mmp_tdma_device *tdev = ofdma->of_dma_data; | 598 | struct mmp_tdma_device *tdev = ofdma->of_dma_data; |