From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gagandeep Singh Subject: [PATCH] crypto/caam_jr: fix redefinition error Date: Tue, 23 Oct 2018 11:54:00 +0000 Message-ID: <20181023115322.16134-1-g.singh@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Gagandeep Singh To: "dev@dpdk.org" , Akhil Goyal Return-path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40041.outbound.protection.outlook.com [40.107.4.41]) by dpdk.org (Postfix) with ESMTP id 4AC4D1B493 for ; Tue, 23 Oct 2018 13:54:03 +0200 (CEST) Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" dma_addr_t is already defined in compat.h. so removing the local definition from caam_jr_config.h Fixes: b70a67ab70 ("crypto/caam_jr: add HW tuning options") Signed-off-by: Gagandeep Singh --- drivers/crypto/caam_jr/caam_jr_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/caam_jr/caam_jr_config.h b/drivers/crypto/caam_= jr/caam_jr_config.h index e7855cee6..041187a84 100644 --- a/drivers/crypto/caam_jr/caam_jr_config.h +++ b/drivers/crypto/caam_jr/caam_jr_config.h @@ -7,6 +7,8 @@ =20 #include =20 +#include + #ifdef RTE_LIBRTE_PMD_CAAM_JR_BE #define CAAM_BYTE_ORDER __BIG_ENDIAN #else @@ -19,8 +21,6 @@ #define CORE_BYTE_ORDER __LITTLE_ENDIAN #endif =20 -typedef uint64_t dma_addr_t; - #if CORE_BYTE_ORDER !=3D CAAM_BYTE_ORDER =20 #define cpu_to_caam64 rte_cpu_to_be_64 --=20 2.17.1