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:
committed by
Gerald Van Baren
parent
2fb698bf50
commit
e489b9c078
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user