git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus/fslmc: introduce true and false macros
[dpdk.git]
/
drivers
/
bus
/
fslmc
/
portal
/
dpaa2_hw_pvt.h
diff --git
a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index
9ce1a9c
..
e5c8761
100644
(file)
--- a/
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
+++ b/
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
@@
-37,6
+37,12
@@
#include <mc/fsl_mc_sys.h>
#include <fsl_qbman_portal.h>
+#ifndef false
+#define false 0
+#endif
+#ifndef true
+#define true 1
+#endif
#define DPAA2_DQRR_RING_SIZE 16
/** <Maximum number of slots available in RX ring*/