diff options
Diffstat (limited to 'arch/c6x/kernel/setup.c')
-rw-r--r-- | arch/c6x/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c index 731db4b9014d..757128868d43 100644 --- a/arch/c6x/kernel/setup.c +++ b/arch/c6x/kernel/setup.c | |||
@@ -265,8 +265,8 @@ int __init c6x_add_memory(phys_addr_t start, unsigned long size) | |||
265 | */ | 265 | */ |
266 | notrace void __init machine_init(unsigned long dt_ptr) | 266 | notrace void __init machine_init(unsigned long dt_ptr) |
267 | { | 267 | { |
268 | struct boot_param_header *dtb = __va(dt_ptr); | 268 | const void *dtb = __va(dt_ptr); |
269 | struct boot_param_header *fdt = (struct boot_param_header *)_fdt_start; | 269 | const void *fdt = _fdt_start; |
270 | 270 | ||
271 | /* interrupts must be masked */ | 271 | /* interrupts must be masked */ |
272 | set_creg(IER, 2); | 272 | set_creg(IER, 2); |