summaryrefslogtreecommitdiff
path: root/drivers/bus/fslmc
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-04-19 18:02:39 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-04-19 18:26:47 +0200
commit3ef648aa4854f53b5ad3f148dc021852157a0246 (patch)
tree2a41989323a0c9c504526dd6c2819cf86bc1625c /drivers/bus/fslmc
parent34345a9b69bbf5ccd74a3a75cf3cf102a735546a (diff)
downloaddpdk-3ef648aa4854f53b5ad3f148dc021852157a0246.zip
dpdk-3ef648aa4854f53b5ad3f148dc021852157a0246.tar.gz
dpdk-3ef648aa4854f53b5ad3f148dc021852157a0246.tar.xz
bus/fslmc: fix build with clang 3.4
error: redefinition of typedef 'dma_addr_t' is a C11 feature [-Werror,-Wtypedef-redefinition] Fixes: 4bc5ab88dbd6 ("net/dpaa2: fix Tx only mode") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Diffstat (limited to 'drivers/bus/fslmc')
-rw-r--r--drivers/bus/fslmc/qbman/include/fsl_qbman_base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/bus/fslmc/qbman/include/fsl_qbman_base.h b/drivers/bus/fslmc/qbman/include/fsl_qbman_base.h
index 96269ed..bb60a98 100644
--- a/drivers/bus/fslmc/qbman/include/fsl_qbman_base.h
+++ b/drivers/bus/fslmc/qbman/include/fsl_qbman_base.h
@@ -6,8 +6,6 @@
#ifndef _FSL_QBMAN_BASE_H
#define _FSL_QBMAN_BASE_H
-typedef uint64_t dma_addr_t;
-
/**
* DOC: QBMan basic structures
*