Commit 5b0f9f83 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Michael Ellerman

powerpc/85xx/mpc85xx_ds: Don't use the flat device-tree after boot

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent b2827883
...@@ -66,9 +66,7 @@ void __init mpc85xx_ds_pic_init(void) ...@@ -66,9 +66,7 @@ void __init mpc85xx_ds_pic_init(void)
struct device_node *cascade_node = NULL; struct device_node *cascade_node = NULL;
int cascade_irq; int cascade_irq;
#endif #endif
unsigned long root = of_get_flat_dt_root(); if (of_machine_is_compatible("fsl,MPC8572DS-CAMP")) {
if (of_flat_dt_is_compatible(root, "fsl,MPC8572DS-CAMP")) {
mpic = mpic_alloc(NULL, 0, mpic = mpic_alloc(NULL, 0,
MPIC_NO_RESET | MPIC_NO_RESET |
MPIC_BIG_ENDIAN | MPIC_BIG_ENDIAN |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment