diff options
author | Rob Herring <robh@kernel.org> | 2014-03-31 16:13:07 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-04-30 01:59:13 -0400 |
commit | 0cdde839265d5f258b36b871b083324f62c1fbb9 (patch) | |
tree | bac63daf0535676f41f0d1d6744872be1b2f499a /arch/mips/kernel | |
parent | 01984a6f99cf1463a89592eff6e57af898743022 (diff) |
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/kernel')
-rw-r--r-- | arch/mips/kernel/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index 3c3b0df8f48d..5d39bb85bf35 100644 --- a/arch/mips/kernel/prom.c +++ b/arch/mips/kernel/prom.c | |||
@@ -47,7 +47,7 @@ void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) | |||
47 | return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); | 47 | return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); |
48 | } | 48 | } |
49 | 49 | ||
50 | void __init __dt_setup_arch(struct boot_param_header *bph) | 50 | void __init __dt_setup_arch(void *bph) |
51 | { | 51 | { |
52 | if (!early_init_dt_scan(bph)) | 52 | if (!early_init_dt_scan(bph)) |
53 | return; | 53 | return; |