summaryrefslogtreecommitdiffstats
path: root/include/libfdt_env.h
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/libfdt_env.h
parent2fb698bf50f4aff2485581a12fa634a07c040e4a (diff)
downloadbootable_bootloader_goldelico_gta04-e489b9c078e22b0d9e75f002cd2a1bd967e88f5e.zip
bootable_bootloader_goldelico_gta04-e489b9c078e22b0d9e75f002cd2a1bd967e88f5e.tar.gz
bootable_bootloader_goldelico_gta04-e489b9c078e22b0d9e75f002cd2a1bd967e88f5e.tar.bz2
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/libfdt_env.h')
-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 ab5c301..a7fd2f8 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)