dma: mxs-dma: Staticize mxs_dma_xlate
authorFabio Estevam <[email protected]>
Fri, 24 May 2013 19:37:27 +0000 (16:37 -0300)
committerVinod Koul <[email protected]>
Fri, 5 Jul 2013 06:10:33 +0000 (11:40 +0530)
Fix the following sparse warning:

drivers/dma/mxs-dma.c:696:17: warning: symbol 'mxs_dma_xlate' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
drivers/dma/mxs-dma.c

index b48a79c288454ec61676fbd4416fdfafc53187fd..719593002ab7866051aa9cf7c52633ce60000ba6 100644 (file)
@@ -693,7 +693,7 @@ static bool mxs_dma_filter_fn(struct dma_chan *chan, void *fn_param)
        return true;
 }
 
-struct dma_chan *mxs_dma_xlate(struct of_phandle_args *dma_spec,
+static struct dma_chan *mxs_dma_xlate(struct of_phandle_args *dma_spec,
                               struct of_dma *ofdma)
 {
        struct mxs_dma_engine *mxs_dma = ofdma->of_dma_data;