diff options
author | Rob Herring <robh@kernel.org> | 2014-04-01 00:13:07 +0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-04-30 09:59:13 +0400 |
commit | 0cdde839265d5f258b36b871b083324f62c1fbb9 (patch) | |
tree | bac63daf0535676f41f0d1d6744872be1b2f499a /arch/mips/include/asm/prom.h | |
parent | 01984a6f99cf1463a89592eff6e57af898743022 (diff) | |
download | linux-0cdde839265d5f258b36b871b083324f62c1fbb9.tar.xz |
mips: convert fdt pointers to opaque pointers
The architecture code does not need to access the internals of the FDT
blob directly, so make the pointers to it void * and use char arrays
for section variables.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Tested-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'arch/mips/include/asm/prom.h')
-rw-r--r-- | arch/mips/include/asm/prom.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h index ccd2b75f152c..a9494c0141fb 100644 --- a/arch/mips/include/asm/prom.h +++ b/arch/mips/include/asm/prom.h @@ -21,13 +21,13 @@ extern void device_tree_init(void); struct boot_param_header; -extern void __dt_setup_arch(struct boot_param_header *bph); +extern void __dt_setup_arch(void *bph); #define dt_setup_arch(sym) \ ({ \ - extern struct boot_param_header __dtb_##sym##_begin; \ + extern char __dtb_##sym##_begin[]; \ \ - __dt_setup_arch(&__dtb_##sym##_begin); \ + __dt_setup_arch(__dtb_##sym##_begin); \ }) #else /* CONFIG_OF */ |