From: Tomasz Duszynski Date: Mon, 26 Jul 2021 13:58:12 +0000 (-0500) Subject: raw/cnxk_bphy: do not include IRQ header directly X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=43c7a9bb1d121ce36210d87f3f56ec6db67b0bf4;p=dpdk.git raw/cnxk_bphy: do not include IRQ header directly One should only use roc_api.h which exports all internal headers. Signed-off-by: Tomasz Duszynski Acked-by: Jerin Jacob --- diff --git a/drivers/common/cnxk/roc_bphy.h b/drivers/common/cnxk/roc_bphy.h index 0579c6c443..ea3124c6aa 100644 --- a/drivers/common/cnxk/roc_bphy.h +++ b/drivers/common/cnxk/roc_bphy.h @@ -6,6 +6,7 @@ #define _ROC_BPHY_ #include "roc_api.h" +#include "roc_bphy_irq.h" struct roc_bphy { struct plt_pci_device *pci_dev; diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy.c b/drivers/raw/cnxk_bphy/cnxk_bphy.c index 9cb3f8d332..affc5c3e83 100644 --- a/drivers/raw/cnxk_bphy/cnxk_bphy.c +++ b/drivers/raw/cnxk_bphy/cnxk_bphy.c @@ -11,7 +11,6 @@ #include #include -#include #include "cnxk_bphy_irq.h" #include "rte_pmd_bphy.h" diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c b/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c index bbcc285a7a..ac1d51777b 100644 --- a/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c +++ b/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c @@ -7,7 +7,6 @@ #include #include -#include #include "cnxk_bphy_irq.h"