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>
This commit is contained in:
Kim Phillips
2008-06-10 11:06:17 -05:00
committed by Gerald Van Baren
parent 2fb698bf50
commit e489b9c078
4 changed files with 64 additions and 56 deletions

View File

@@ -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)