aboutsummaryrefslogtreecommitdiff
path: root/lib/fdt_dbg.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 20:50:16 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-01-07 20:50:16 +0200
commitacc26f85f32c68a51e5cc7b613cd0ea0b0630505 (patch)
tree90d68a8292360f0796509f1febc7b66b0a53f4aa /lib/fdt_dbg.c
parent8d90fb3e4a5d02df75584016563ef84901967b9f (diff)
downloadkmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.tar.gz
kmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.zip
Use #if defined(...) when not guard clause
Diffstat (limited to 'lib/fdt_dbg.c')
-rw-r--r--lib/fdt_dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdt_dbg.c b/lib/fdt_dbg.c
index 1dd8007..aa4f1fe 100644
--- a/lib/fdt_dbg.c
+++ b/lib/fdt_dbg.c
@@ -89,7 +89,7 @@ static void __print_prop_value(const void *data, int len)
}
}
-void __dbg_fdt(void *fdt, int node_offset, int depth)
+void __dbg_fdt(const void *fdt, int node_offset, int depth)
{
int node = 0;
fdt_for_each_subnode(node, fdt, node_offset){