[PATCH] dma/hisilicon: fix header file self contained

Chengwen Feng fengchengwen at huawei.com
Tue Jun 14 11:33:19 CEST 2022


From: "Min Hu (Connor)" <humin29 at huawei.com>

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

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

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

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)
-- 
2.33.0



More information about the dev mailing list