summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma_v3.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-02-13 02:40:03 +0100
committerVinod Koul <vinod.koul@intel.com>2013-02-13 17:10:09 +0100
commita20702b8d7c2b54a618e203d94b37b4f1d21bbd4 (patch)
treec621ea1997ba39989719b16e80e6f05b5cc0aa43 /drivers/dma/ioat/dma_v3.c
parentdmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c (diff)
downloadlinux-a20702b8d7c2b54a618e203d94b37b4f1d21bbd4.tar.xz
linux-a20702b8d7c2b54a618e203d94b37b4f1d21bbd4.zip
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/dma/ioat/dma_v3.c')
-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 570dd6320c32..2acd1ad57fd6 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;