From 43c7a9bb1d121ce36210d87f3f56ec6db67b0bf4 Mon Sep 17 00:00:00 2001 From: Tomasz Duszynski Date: Mon, 26 Jul 2021 08:58:12 -0500 Subject: [PATCH] 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 --- drivers/common/cnxk/roc_bphy.h | 1 + drivers/raw/cnxk_bphy/cnxk_bphy.c | 1 - drivers/raw/cnxk_bphy/cnxk_bphy_irq.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) 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" -- 2.20.1