dmaengine: ioat: statify symbol
authorVinod Koul <vinod.koul@intel.com>
Sat, 16 Jul 2016 14:26:21 +0000 (19:56 +0530)
committerVinod 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

index d406056e889246d1ec8e03dab74d0727046fd192..7145f7716a925e57d4190ceaf20dd9d13f3571bd 100644 (file)
@@ -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;