summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-06-10 11:06:17 -0500
committerGerald Van Baren <vanbaren@cideas.com>2008-06-10 22:23:17 -0400
commite489b9c078e22b0d9e75f002cd2a1bd967e88f5e (patch)
treef26ab715260f3d389a4ebc8e8af769af467bb325 /include
parent2fb698bf50f4aff2485581a12fa634a07c040e4a (diff)
fdt: unshadow global working fdt variable
differentiate with local variables of the same name by renaming the global 'fdt' variable 'working_fdt'. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/libfdt_env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index ab5c3012d..a7fd2f8d9 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -31,7 +31,7 @@
#include <stddef.h>
#include <asm/byteorder.h>
-extern struct fdt_header *fdt; /* Pointer to the working fdt */
+extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
#define fdt32_to_cpu(x) __be32_to_cpu(x)
#define cpu_to_fdt32(x) __cpu_to_be32(x)