summaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq/prom.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-03-31 22:13:07 +0200
committerRob Herring <robh@kernel.org>2014-04-30 07:59:13 +0200
commit0cdde839265d5f258b36b871b083324f62c1fbb9 (patch)
treebac63daf0535676f41f0d1d6744872be1b2f499a /arch/mips/lantiq/prom.h
parentc6x: convert fdt pointers to opaque pointers (diff)
downloadlinux-0cdde839265d5f258b36b871b083324f62c1fbb9.tar.xz
linux-0cdde839265d5f258b36b871b083324f62c1fbb9.zip
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/lantiq/prom.h')
-rw-r--r--arch/mips/lantiq/prom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lantiq/prom.h b/arch/mips/lantiq/prom.h
index 8e07b5f28ef1..69a4c582338d 100644
--- a/arch/mips/lantiq/prom.h
+++ b/arch/mips/lantiq/prom.h
@@ -26,6 +26,6 @@ struct ltq_soc_info {
extern void ltq_soc_detect(struct ltq_soc_info *i);
extern void ltq_soc_init(void);
-extern struct boot_param_header __dtb_start;
+extern char __dtb_start[];
#endif