mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
c6x: convert fdt pointers to opaque pointers
The architecture code does not need to access the internals of the FDT blob, so make the pointer to it void *. Signed-off-by: Rob Herring <[email protected]> Cc: Mark Salter <[email protected]> Cc: Aurelien Jacquiot <[email protected]> Cc: [email protected] Tested-by: Grant Likely <[email protected]>
This commit is contained in:
parent
1f809b4b12
commit
01984a6f99
1 changed files with 2 additions and 2 deletions
|
|
@ -265,8 +265,8 @@ int __init c6x_add_memory(phys_addr_t start, unsigned long size)
|
|||
*/
|
||||
notrace void __init machine_init(unsigned long dt_ptr)
|
||||
{
|
||||
struct boot_param_header *dtb = __va(dt_ptr);
|
||||
struct boot_param_header *fdt = (struct boot_param_header *)_fdt_start;
|
||||
const void *dtb = __va(dt_ptr);
|
||||
const void *fdt = _fdt_start;
|
||||
|
||||
/* interrupts must be masked */
|
||||
set_creg(IER, 2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue