[PATCH] bus/ifpga: fix driver header dependency

David Marchand david.marchand at redhat.com
Mon Oct 23 16:46:17 CEST 2023


The driver header bus_ifpga_driver.h was not self sufficient.
Fix this by including dev_driver.h.

Fixes: 925c074e377b ("bus/ifpga: make driver-only headers private")
Cc: stable at dpdk.org

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 drivers/bus/ifpga/bus_ifpga_driver.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h b/drivers/bus/ifpga/bus_ifpga_driver.h
index 7b75c2ddbc..5bbe36d6e0 100644
--- a/drivers/bus/ifpga/bus_ifpga_driver.h
+++ b/drivers/bus/ifpga/bus_ifpga_driver.h
@@ -16,6 +16,7 @@ extern "C" {
 #endif /* __cplusplus */
 
 #include <rte_compat.h>
+#include <dev_driver.h>
 #include <rte_pci.h>
 #include <rte_interrupts.h>
 #include <rte_spinlock.h>
-- 
2.41.0



More information about the stable mailing list