summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-05-24 16:37:27 -0300
committerVinod Koul <vinod.koul@intel.com>2013-07-05 11:40:33 +0530
commit3208b3701b98dcd14f0d5f0a36dd33d21b0b458f (patch)
tree25db4d41f0fe74340f079d2e29ea056b2dffabcb /drivers/dma
parentdd3daca162f7411448dd80a8872a002c43cfd8e5 (diff)
downloadlinux-3208b3701b98dcd14f0d5f0a36dd33d21b0b458f.tar.gz
linux-3208b3701b98dcd14f0d5f0a36dd33d21b0b458f.tar.bz2
linux-3208b3701b98dcd14f0d5f0a36dd33d21b0b458f.zip
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 <fabio.estevam@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/mxs-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index b48a79c28845..719593002ab7 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;