Browse Source

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 <vinod.koul@intel.com>
Vinod Koul 10 years ago
parent
commit
453dcdb5ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/dma/fsl_raid.c

+ 1 - 1
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;