summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mips-boards
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-03-31 15:13:07 -0500
committerRob Herring <robh@kernel.org>2014-04-30 00:59:13 -0500
commit0cdde839265d5f258b36b871b083324f62c1fbb9 (patch)
treebac63daf0535676f41f0d1d6744872be1b2f499a /arch/mips/include/asm/mips-boards
parent01984a6f99cf1463a89592eff6e57af898743022 (diff)
downloadlinux-0cdde839265d5f258b36b871b083324f62c1fbb9.tar.bz2
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/mips-boards')
-rw-r--r--arch/mips/include/asm/mips-boards/generic.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/include/asm/mips-boards/generic.h b/arch/mips/include/asm/mips-boards/generic.h
index 48616816bcbc..b969491aa98d 100644
--- a/arch/mips/include/asm/mips-boards/generic.h
+++ b/arch/mips/include/asm/mips-boards/generic.h
@@ -67,9 +67,7 @@
extern int mips_revision_sconid;
-#ifdef CONFIG_OF
-extern struct boot_param_header __dtb_start;
-#endif
+extern char __dtb_start[];
#ifdef CONFIG_PCI
extern void mips_pcibios_init(void);