From 453dcdb5ba048011d823cd31710f78ce2fd57da3 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Thu, 2 Apr 2015 16:11:35 +0530 Subject: [PATCH] dmaengine: fsl_raid: statify fsl_re_chan_probe Function fsl_re_chan_probe should be declared static, so do it Signed-off-by: Vinod Koul --- drivers/dma/fsl_raid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c index 12778bd6446b..4d9470f16552 100644 --- a/drivers/dma/fsl_raid.c +++ b/drivers/dma/fsl_raid.c @@ -629,7 +629,7 @@ static void fsl_re_free_chan_resources(struct dma_chan *chan) dev_err(re_chan->dev, "chan resource cannot be cleaned!\n"); } -int fsl_re_chan_probe(struct platform_device *ofdev, +static int fsl_re_chan_probe(struct platform_device *ofdev, struct device_node *np, u8 q, u32 off) { struct device *dev, *chandev; -- 2.11.0