summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-07-16 19:56:21 +0530
committerVinod Koul <vinod.koul@intel.com>2016-07-23 16:07:29 +0530
commit184ff2aa3c0ba7f1cd44ed7e8d766e12e43694e2 (patch)
tree3bc934ee318686f4f1654ce8be99a1d3aad2c123 /drivers/dma
parent7d604663255ac757ab4b0e17f533cba136486551 (diff)
downloadop-kernel-dev-184ff2aa3c0ba7f1cd44ed7e8d766e12e43694e2.zip
op-kernel-dev-184ff2aa3c0ba7f1cd44ed7e8d766e12e43694e2.tar.gz
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ioat/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c
index d406056..7145f77 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)
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;
OpenPOWER on IntegriCloud