projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad80da6
)
dmaengine: fsl_raid: statify fsl_re_chan_probe
author
Vinod Koul
<vinod.koul@intel.com>
Thu, 2 Apr 2015 10:41:35 +0000
(16:11 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Thu, 2 Apr 2015 10:41:35 +0000
(16:11 +0530)
Function fsl_re_chan_probe should be declared static, so do it
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/fsl_raid.c
patch
|
blob
|
history
diff --git
a/drivers/dma/fsl_raid.c
b/drivers/dma/fsl_raid.c
index 12778bd6446baa2a484487c458687a9adc51e16f..4d9470f16552ca8065e69832dc786364d6369814 100644
(file)
--- 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;