summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-03-31 15:25:04 -0500
committerRob Herring <robh@kernel.org>2014-04-30 00:59:19 -0500
commit1daa0c4ced334f18f458aba6ace7e01e8cdc2ecf (patch)
tree7cdd406df8cb30c414da0b5107e04d5c8c479ce7
parent1bac1869947ee3866c6d687b99e4283d37bb499b (diff)
downloadblackbird-op-linux-1daa0c4ced334f18f458aba6ace7e01e8cdc2ecf.tar.gz
blackbird-op-linux-1daa0c4ced334f18f458aba6ace7e01e8cdc2ecf.zip
of/fdt: convert initial_boot_params to opaque pointer
Now that all accesses to FDT header data has been converted to accessor helpers, initial_boot_params can become an opaque pointer. Signed-off-by: Rob Herring <robh@kernel.org> Tested-by: Michal Simek <michal.simek@xilinx.com> Tested-by: Grant Likely <grant.likely@linaro.org> Tested-by: Stephen Chivers <schivers@csc.com>
-rw-r--r--drivers/of/fdt.c2
-rw-r--r--include/linux/of_fdt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 358bcf0500d2..a6f83ea107ae 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -372,7 +372,7 @@ EXPORT_SYMBOL_GPL(of_fdt_unflatten_tree);
int __initdata dt_root_addr_cells;
int __initdata dt_root_size_cells;
-struct boot_param_header *initial_boot_params;
+void *initial_boot_params;
#ifdef CONFIG_OF_EARLY_FLATTREE
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h
index e10099c95999..1f882e1da728 100644
--- a/include/linux/of_fdt.h
+++ b/include/linux/of_fdt.h
@@ -78,7 +78,7 @@ extern void of_fdt_unflatten_tree(unsigned long *blob,
/* TBD: Temporary export of fdt globals - remove when code fully merged */
extern int __initdata dt_root_addr_cells;
extern int __initdata dt_root_size_cells;
-extern struct boot_param_header *initial_boot_params;
+extern void *initial_boot_params;
extern char __dtb_start[];
extern char __dtb_end[];
OpenPOWER on IntegriCloud