提交 2358b820 编写于 作者: R Rashika 提交者: Dan Williams

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: NRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
Acked-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NDan Williams <dan.j.williams@intel.com>
上级 8d1d3276
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "dma.h" #include "dma.h"
#include "registers.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 * Bit 7 of a tag map entry is the "valid" bit, if it is set then bits 0:6
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册