From: Fabio Estevam Date: Fri, 24 May 2013 19:37:27 +0000 (-0300) Subject: dma: mxs-dma: Staticize mxs_dma_xlate X-Git-Tag: upstream/snapshot3+hdmi~4764^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3208b3701b98dcd14f0d5f0a36dd33d21b0b458f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git dma: mxs-dma: Staticize mxs_dma_xlate 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 Acked-by: Shawn Guo Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index b48a79c..7195930 100644 --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c @@ -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;