[PATCH] bus/ifpga: fix driver header dependency
Xu, Rosen
rosen.xu at intel.com
Tue Oct 24 02:23:40 CEST 2023
Hi,
> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: Monday, October 23, 2023 10:46 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Xu, Rosen <rosen.xu at intel.com>
> Subject: [PATCH] bus/ifpga: fix driver header dependency
>
> 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
Acked-by: Rosen Xu <rosen.xu at intel.com>
More information about the stable
mailing list