summaryrefslogtreecommitdiff
path: root/platform/generic
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2022-12-21 19:38:06 +0800
committerAnup Patel <[email protected]>2023-01-06 17:26:35 +0530
commit440fa818fbffd0771d75890c4fcda062ceab7ebd (patch)
treeddc51462269d7532149eab1bd60000158c37a535 /platform/generic
parent6b5188ca14e59ce7bf71afe4e7d3d557c3d31bf8 (diff)
treewide: Replace TRUE/FALSE with true/false
C language standard uses true/false for the boolean type. Let's switch to that for better language compatibility. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Tested-by: Samuel Holland <[email protected]>
Diffstat (limited to 'platform/generic')
-rw-r--r--platform/generic/sifive/fu740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/sifive/fu740.c b/platform/generic/sifive/fu740.c
index f595c048..fe71ce6a 100644
--- a/platform/generic/sifive/fu740.c
+++ b/platform/generic/sifive/fu740.c
@@ -205,7 +205,7 @@ static int da9063_reset_init(void *fdt, int nodeoff,
}
static const struct fdt_match da9063_reset_match[] = {
- { .compatible = "dlg,da9063", .data = (void *)TRUE },
+ { .compatible = "dlg,da9063", .data = (void *)true },
{ },
};