From: Rashika Date: Mon, 16 Dec 2013 10:14:39 +0000 (+0530) Subject: drivers: dma: Include appropriate header file in dca.c X-Git-Tag: next-20140428~52^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2358b820d42a33f1d1052b438489c90a4cc8f3fc;p=karo-tx-linux.git drivers: dma: Include appropriate header file in dca.c 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 --- 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