summaryrefslogtreecommitdiff
path: root/include/libfdt_env.h
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2007-04-25 22:23:36 -0400
committerGerald Van Baren <vanbaren@cideas.com>2007-08-10 19:21:35 -0400
commitbb930e76fea6cf89ca2d98e2f7c7a6043d79327d (patch)
treeb1081b32e76d3facd69a380b0386826877d787d2 /include/libfdt_env.h
parentba24e2ac3bdb5c489f3c787e7542b6474c4d65c6 (diff)
Minor code clean up.
Declare the variable fdt properly as extern. Call the "set_fn" function pointer the "short way" without the full dereferencing syntax. Signed-off-by: Gerald Van Baren <vanbaren@cideas.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 e746314b1e7..78f725830da 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -26,7 +26,7 @@
#include <asm/byteorder.h>
#include <linux/string.h>
-struct fdt_header *fdt; /* Pointer to the working fdt */
+extern struct fdt_header *fdt; /* Pointer to the working fdt */
#define fdt32_to_cpu(x) __be32_to_cpu(x)
#define cpu_to_fdt32(x) __cpu_to_be32(x)