projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d60466
)
dmaengine: ioat: statify symbol
author
Vinod Koul
<vinod.koul@intel.com>
Sat, 16 Jul 2016 14:26:21 +0000
(19:56 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 23 Jul 2016 10:37:29 +0000
(16:07 +0530)
Sparse warns:
drivers/dma/ioat/init.c:1215:6: warning: symbol 'ioat_resume' was not declared. Should it be static?
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
drivers/dma/ioat/init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/ioat/init.c
b/drivers/dma/ioat/init.c
index d406056e889246d1ec8e03dab74d0727046fd192..7145f7716a925e57d4190ceaf20dd9d13f3571bd 100644
(file)
--- a/
drivers/dma/ioat/init.c
+++ b/
drivers/dma/ioat/init.c
@@
-1212,7
+1212,7
@@
static void ioat_shutdown(struct pci_dev *pdev)
ioat_disable_interrupts(ioat_dma);
}
-void ioat_resume(struct ioatdma_device *ioat_dma)
+
static
void ioat_resume(struct ioatdma_device *ioat_dma)
{
struct ioatdma_chan *ioat_chan;
u32 chanerr;