diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-16 05:14:39 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2014-04-10 15:17:35 -0400 |
commit | 2358b820d42a33f1d1052b438489c90a4cc8f3fc (patch) | |
tree | 9278c644c56288b4706e140e1c0fcce91889a1da /drivers/dma | |
parent | 8d1d32767ca0df1b5cd75cdc1be3915bc6887ed1 (diff) |
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/ioat/dca.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
35 | 35 | ||
36 | #include "dma.h" | 36 | #include "dma.h" |
37 | #include "registers.h" | 37 | #include "registers.h" |
38 | #include "dma_v2.h" | ||
38 | 39 | ||
39 | /* | 40 | /* |
40 | * Bit 7 of a tag map entry is the "valid" bit, if it is set then bits 0:6 | 41 | * Bit 7 of a tag map entry is the "valid" bit, if it is set then bits 0:6 |