sbi: Add definitions for true/false
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Mar 2020 05:46:26 +0000 (22:46 -0700)
committerAnup Patel <anup@brainfault.org>
Fri, 13 Mar 2020 04:50:37 +0000 (10:20 +0530)
We currently have TRUE/FALSE, but it could be convenient to have
true/false as well.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_types.h

index b59a6ff..153c185 100644 (file)
@@ -56,6 +56,8 @@ typedef unsigned long         physical_size_t;
 
 #define TRUE                   1
 #define FALSE                  0
+#define true                   TRUE
+#define false                  FALSE
 
 #define NULL                   ((void *)0)