dma/hisilicon: fix header file self contained

Message ID 20220614093319.49763-1-fengchengwen@huawei.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series dma/hisilicon: fix header file self contained |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/github-robot: build success github build: passed
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing fail Testing issues
ci/iol-abi-testing success Testing PASS

Commit Message

fengchengwen June 14, 2022, 9:33 a.m. UTC
  From: "Min Hu (Connor)" <humin29@huawei.com>

Header files should be self contained. This patch fixed it.

Fixes: 9e16317a38f9 ("dma/hisilicon: add probing")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
---
 drivers/dma/hisilicon/hisi_dmadev.h | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Thomas Monjalon June 15, 2022, 2:34 p.m. UTC | #1
14/06/2022 11:33, Chengwen Feng:
> From: "Min Hu (Connor)" <humin29@huawei.com>
> 
> Header files should be self contained. This patch fixed it.
> 
> Fixes: 9e16317a38f9 ("dma/hisilicon: add probing")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
> Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>

Applied, thanks.
  

Patch

diff --git a/drivers/dma/hisilicon/hisi_dmadev.h b/drivers/dma/hisilicon/hisi_dmadev.h
index deb1357eea..5a17f9f69e 100644
--- a/drivers/dma/hisilicon/hisi_dmadev.h
+++ b/drivers/dma/hisilicon/hisi_dmadev.h
@@ -7,6 +7,8 @@ 
 
 #include <rte_byteorder.h>
 #include <rte_common.h>
+#include <rte_memzone.h>
+#include <rte_dmadev_pmd.h>
 
 #define BIT(x)	(1ul << (x))
 #define BITS_PER_LONG	(__SIZEOF_LONG__ * 8)