summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl_raid.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-04-02 12:41:35 +0200
committerVinod Koul <vinod.koul@intel.com>2015-04-02 12:41:35 +0200
commit453dcdb5ba048011d823cd31710f78ce2fd57da3 (patch)
tree91720a567d486ec6a71e6bc687332b1c184f95e6 /drivers/dma/fsl_raid.c
parentdmaengine: Driver support for FSL RaidEngine device. (diff)
downloadlinux-453dcdb5ba048011d823cd31710f78ce2fd57da3.tar.xz
linux-453dcdb5ba048011d823cd31710f78ce2fd57da3.zip
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>
Diffstat (limited to 'drivers/dma/fsl_raid.c')
-rw-r--r--drivers/dma/fsl_raid.c2
1 files changed, 1 insertions, 1 deletions
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;