diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-16 15:44:39 +0530 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2014-04-10 12:17:35 -0700 |
commit | 2358b820d42a33f1d1052b438489c90a4cc8f3fc (patch) | |
tree | 9278c644c56288b4706e140e1c0fcce91889a1da /drivers/dma/ioat | |
parent | 8d1d32767ca0df1b5cd75cdc1be3915bc6887ed1 (diff) | |
download | linux-2358b820d42a33f1d1052b438489c90a4cc8f3fc.tar.bz2 |
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/ioat')
-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 @@ #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 |