From acc26f85f32c68a51e5cc7b613cd0ea0b0630505 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 7 Jan 2022 20:50:16 +0200 Subject: Use #if defined(...) when not guard clause --- lib/fdt_dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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){ -- cgit v1.3