dmaengine: ioat - fix spare sparse complain
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 13 Feb 2013 01:40:03 +0000 (09:40 +0800)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Feb 2013 16:10:09 +0000 (08:10 -0800)
>> drivers/dma/ioat/dma_v3.c:371:6: sparse: symbol 'ioat3_timer_event' was not declared.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/dma_v3.c

index 570dd6320c32f02e9f83223764e6550419683fe5..2acd1ad57fd6f587a3edfbc45a20bef5fbd5f0d6 100644 (file)
@@ -368,7 +368,7 @@ static void check_active(struct ioat2_dma_chan *ioat)
 
 }
 
-void ioat3_timer_event(unsigned long data)
+static void ioat3_timer_event(unsigned long data)
 {
        struct ioat2_dma_chan *ioat = to_ioat2_chan((void *) data);
        struct ioat_chan_common *chan = &ioat->base;