diff options
author | Gerald Van Baren <vanbaren@cideas.com> | 2007-04-25 22:23:36 -0400 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2007-08-10 19:21:35 -0400 |
commit | bb930e76fea6cf89ca2d98e2f7c7a6043d79327d (patch) | |
tree | b1081b32e76d3facd69a380b0386826877d787d2 /include/libfdt_env.h | |
parent | ba24e2ac3bdb5c489f3c787e7542b6474c4d65c6 (diff) | |
download | u-boot-imx-bb930e76fea6cf89ca2d98e2f7c7a6043d79327d.zip u-boot-imx-bb930e76fea6cf89ca2d98e2f7c7a6043d79327d.tar.gz u-boot-imx-bb930e76fea6cf89ca2d98e2f7c7a6043d79327d.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libfdt_env.h b/include/libfdt_env.h index e746314..78f7258 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) |