One should only use roc_api.h which exports all internal headers.

Signed-off-by: Tomasz Duszynski <tduszyn...@marvell.com>
---
 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 <rte_rawdev_pmd.h>
 
 #include <roc_api.h>
-#include <roc_bphy_irq.h>
 
 #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 <rte_rawdev_pmd.h>
 
 #include <roc_api.h>
-#include <roc_bphy_irq.h>
 
 #include "cnxk_bphy_irq.h"
 
-- 
2.25.1

Reply via email to