Browse Source

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>
Vinod Koul 9 years ago
parent
commit
184ff2aa3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/dma/ioat/init.c

+ 1 - 1
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;