summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-02-13 09:40:03 +0800
committerVinod Koul <vinod.koul@intel.com>2013-02-13 08:10:09 -0800
commita20702b8d7c2b54a618e203d94b37b4f1d21bbd4 (patch)
treec621ea1997ba39989719b16e80e6f05b5cc0aa43 /drivers
parent5fa422c922c2599dbfd960faf6dfca2411cc3f99 (diff)
dmaengine: ioat - fix spare sparse complain
>> 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/ioat/dma_v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c
index 570dd6320c3..2acd1ad57fd 100644
--- a/drivers/dma/ioat/dma_v3.c
+++ b/drivers/dma/ioat/dma_v3.c
@@ -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;