From 2358b820d42a33f1d1052b438489c90a4cc8f3fc Mon Sep 17 00:00:00 2001 From: Rashika Date: Mon, 16 Dec 2013 15:44:39 +0530 Subject: drivers: dma: Include appropriate header file in dca.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Josh Triplett Acked-by: Vinod Koul Signed-off-by: Dan Williams --- drivers/dma/ioat/dca.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/dma/ioat') diff --git a/drivers/dma/ioat/dca.c b/drivers/dma/ioat/dca.c index 79009632830d..3b55bb8d969a 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 -- cgit v1.2.3