git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f4203f
)
bus/fslmc: fix the cplusplus macro closure
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Fri, 8 Dec 2017 05:21:14 +0000
(10:51 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000
(18:47 +0100)
Fixes:
10f1614f36a6
("drivers: refactor DPAA2 object definition")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/rte_fslmc.h
patch
|
blob
|
history
diff --git
a/drivers/bus/fslmc/rte_fslmc.h
b/drivers/bus/fslmc/rte_fslmc.h
index
af47b92
..
a5314b2
100644
(file)
--- a/
drivers/bus/fslmc/rte_fslmc.h
+++ b/
drivers/bus/fslmc/rte_fslmc.h
@@
-149,10
+149,6
@@
static void dpaa2initfn_ ##nm(void) \
} \
RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
-#ifdef __cplusplus
-}
-#endif
-
/**
* Register a DPAA2 MC Object driver.
*
@@
-172,4
+168,8
@@
static void dpaa2objinitfn_ ##nm(void) \
} \
RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RTE_FSLMC_H_ */