From: Gagandeep Singh Date: Tue, 23 Oct 2018 11:54:00 +0000 (+0000) Subject: crypto/caam_jr: fix type redefinition X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2402ad3ebd85ac704467bd271478d34fb317857c;p=dpdk.git crypto/caam_jr: fix type redefinition dma_addr_t is already defined in compat.h. so removing the local definition from caam_jr_config.h Fixes: 64c0451f5bb9 ("crypto/caam_jr: add HW tuning options") Signed-off-by: Gagandeep Singh --- diff --git a/drivers/crypto/caam_jr/caam_jr_config.h b/drivers/crypto/caam_jr/caam_jr_config.h index e7855cee6d..041187a84c 100644 --- a/drivers/crypto/caam_jr/caam_jr_config.h +++ b/drivers/crypto/caam_jr/caam_jr_config.h @@ -7,6 +7,8 @@ #include +#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 -typedef uint64_t dma_addr_t; - #if CORE_BYTE_ORDER != CAAM_BYTE_ORDER #define cpu_to_caam64 rte_cpu_to_be_64