crypto/caam_jr: fix type redefinition
authorGagandeep Singh <g.singh@nxp.com>
Tue, 23 Oct 2018 11:54:00 +0000 (11:54 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Oct 2018 20:47:01 +0000 (22:47 +0200)
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 <g.singh@nxp.com>
drivers/crypto/caam_jr/caam_jr_config.h

index e7855ce..041187a 100644 (file)
@@ -7,6 +7,8 @@
 
 #include <rte_byteorder.h>
 
+#include <compat.h>
+
 #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