[PATCH 2/2] drivers: dma: Include appropriate header file in dca.c

Rashika Kheria
2013-12-16T10:14:53Z

Includes an appropriate header file dma_v2.h in ioat/dca.c because
functions ioat2_dca_init() and ioat3_dca_init() have their function
declarations in dma_v2.h.

This eliminates the following warning in ioat/dca.c:
drivers/dma/ioat/dca.c:410:22: warning: no previous prototype for ‘ioat2_dca_init’ [-Wmissing-prototypes]
drivers/dma/ioat/dca.c:624:22: warning: no previous prototype for ‘ioat3_dca_init’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
---
drivers/dma/ioat/dca.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/dma/ioat/dca.c b/drivers/dma/ioat/dca.c
index 9e84d5b..b158bba 100644
--- a/drivers/dma/ioat/dca.c
+++ b/drivers/dma/ioat/dca.c
@@ -35,6 +35,7 @@

#include "dma.h"
#include "registers.h"
+#include "dma_v2.h"

/*
* Bit 7 of a tag map entry is the "valid" bit, if it is set then bits 0:6
--
1.7.9.5