diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-16 10:26:21 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-23 06:37:29 -0400 |
commit | 184ff2aa3c0ba7f1cd44ed7e8d766e12e43694e2 (patch) | |
tree | 3bc934ee318686f4f1654ce8be99a1d3aad2c123 | |
parent | 7d604663255ac757ab4b0e17f533cba136486551 (diff) |
dmaengine: ioat: statify symbol
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>
-rw-r--r-- | drivers/dma/ioat/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c index d406056e8892..7145f7716a92 100644 --- a/drivers/dma/ioat/init.c +++ b/drivers/dma/ioat/init.c | |||
@@ -1212,7 +1212,7 @@ static void ioat_shutdown(struct pci_dev *pdev) | |||
1212 | ioat_disable_interrupts(ioat_dma); | 1212 | ioat_disable_interrupts(ioat_dma); |
1213 | } | 1213 | } |
1214 | 1214 | ||
1215 | void ioat_resume(struct ioatdma_device *ioat_dma) | 1215 | static void ioat_resume(struct ioatdma_device *ioat_dma) |
1216 | { | 1216 | { |
1217 | struct ioatdma_chan *ioat_chan; | 1217 | struct ioatdma_chan *ioat_chan; |
1218 | u32 chanerr; | 1218 | u32 chanerr; |