]> git.droids-corp.org - dpdk.git/commitdiff
raw/cnxk_bphy: do not include IRQ header directly
authorTomasz Duszynski <tduszynski@marvell.com>
Mon, 26 Jul 2021 13:58:12 +0000 (08:58 -0500)
committerJerin Jacob <jerinj@marvell.com>
Tue, 28 Sep 2021 10:09:14 +0000 (12:09 +0200)
One should only use roc_api.h which exports all internal headers.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_bphy.h
drivers/raw/cnxk_bphy/cnxk_bphy.c
drivers/raw/cnxk_bphy/cnxk_bphy_irq.c

index 0579c6c443e1132e9cca6d84532e0c8d386bd2b3..ea3124c6aaebd13422289861e28097699d2d57f6 100644 (file)
@@ -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;
index 9cb3f8d332adaaf2dbbd63d55427b6f94f2fb511..affc5c3e83ad590ae00c2939788f49d1597507b9 100644 (file)
@@ -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"
index bbcc285a7aa10c8cd79c9e77449870373e20bb7d..ac1d51777bab976eb21467ab8de6e2a63c9d0ab3 100644 (file)
@@ -7,7 +7,6 @@
 #include <rte_rawdev_pmd.h>
 
 #include <roc_api.h>
-#include <roc_bphy_irq.h>
 
 #include "cnxk_bphy_irq.h"