From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9952A0C47; Mon, 26 Jul 2021 15:59:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A123E410EF; Mon, 26 Jul 2021 15:58:50 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C4EC541101 for ; Mon, 26 Jul 2021 15:58:48 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16QDtQNX027434; Mon, 26 Jul 2021 06:58:48 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=SrmtzwtSZI+KN8IE0Zyn6STy2xX0swUZ2+J5PVqKR14=; b=ivhkT7epwBOHUpnS1fC6Tb6MvSMbIOjK3AI0MHkiP1d3Ns1UAAcCfsNcemhFQwMRwF1z W1GVCTxEsPBbA6+5sbWpTOEPUVZ1B9xEIB07BwEFoCUfyU8qbf1Zo39J5F9C2U559Bgp gghytzPabdCvV4A38XNXQ/IfIdKYozkvt8t1SkmmYE0J0g8pz/3zfr3a1S0PrTGxrtRg F0fLVb/+TlYAuBJkWOf6EZhwTL+M9KPCyGqEVZmPrM9ZhoFxxroWw6porvuFNgXLT1ZW T75Seydz716FJOACBRmewh0sNUzlBCUPVJiWBaZV3DXFb8SQ/td7r6v0gajUPBHzzfg8 XQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3a1v51gept-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 26 Jul 2021 06:58:47 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 26 Jul 2021 06:58:46 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Mon, 26 Jul 2021 06:58:46 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 00CDD3F706F; Mon, 26 Jul 2021 06:58:43 -0700 (PDT) From: Tomasz Duszynski To: , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Jakub Palider , "Tomasz Duszynski" CC: , Date: Mon, 26 Jul 2021 08:58:12 -0500 Message-ID: <20210726135815.81201-4-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210726135815.81201-1-tduszynski@marvell.com> References: <20210726135815.81201-1-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: rImzpqi5ten0bgdlSqPuwHNJxCGzmWh1 X-Proofpoint-ORIG-GUID: rImzpqi5ten0bgdlSqPuwHNJxCGzmWh1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-26_06:2021-07-26, 2021-07-26 signatures=0 Subject: [dpdk-dev] [PATCH 3/6] raw/cnxk_bphy: don't include irq header directly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" One should only use roc_api.h which exports all internal headers. Signed-off-by: Tomasz Duszynski --- 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.25.1