From: Kumar Gala Date: Wed, 13 Feb 2008 21:09:58 +0000 (-0600) Subject: Fix building of fdt_support.c if DEBUG set X-Git-Tag: v1.3.2-rc1~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9ad115bbf7bb0842de7dbd2502b7e430f83cc3d;p=u-boot Fix building of fdt_support.c if DEBUG set Signed-off-by: Kumar Gala --- diff --git a/common/fdt_support.c b/common/fdt_support.c index 92f1c7f54f..69eb667954 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -415,7 +415,7 @@ void do_fixup_by_path(void *fdt, const char *path, const char *prop, { #if defined(DEBUG) int i; - debug("Updating property '%s/%s' = ", node, prop); + debug("Updating property '%s/%s' = ", path, prop); for (i = 0; i < len; i++) debug(" %.2x", *(u8*)(val+i)); debug("\n"); @@ -441,7 +441,7 @@ void do_fixup_by_prop(void *fdt, int off; #if defined(DEBUG) int i; - debug("Updating property '%s/%s' = ", node, prop); + debug("Updating property '%s' = ", prop); for (i = 0; i < len; i++) debug(" %.2x", *(u8*)(val+i)); debug("\n"); @@ -468,7 +468,7 @@ void do_fixup_by_compat(void *fdt, const char *compat, int off = -1; #if defined(DEBUG) int i; - debug("Updating property '%s/%s' = ", node, prop); + debug("Updating property '%s' = ", prop); for (i = 0; i < len; i++) debug(" %.2x", *(u8*)(val+i)); debug("\n");