aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/85xx/mpc8536_ds.c2
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx_ds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc8536_ds.c b/arch/powerpc/platforms/85xx/mpc8536_ds.c
index 71d7c038961f..6b846aa1ced9 100644
--- a/arch/powerpc/platforms/85xx/mpc8536_ds.c
+++ b/arch/powerpc/platforms/85xx/mpc8536_ds.c
@@ -36,7 +36,7 @@ void __init mpc8536_ds_pic_init(void)
36 struct resource r; 36 struct resource r;
37 struct device_node *np; 37 struct device_node *np;
38 38
39 np = of_find_node_by_type(np, "open-pic"); 39 np = of_find_node_by_type(NULL, "open-pic");
40 if (np == NULL) { 40 if (np == NULL) {
41 printk(KERN_ERR "Could not find open-pic node\n"); 41 printk(KERN_ERR "Could not find open-pic node\n");
42 return; 42 return;
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
index 8b2d63d4264e..25f41cd2d33a 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
@@ -64,7 +64,7 @@ void __init mpc85xx_ds_pic_init(void)
64 int cascade_irq; 64 int cascade_irq;
65#endif 65#endif
66 66
67 np = of_find_node_by_type(np, "open-pic"); 67 np = of_find_node_by_type(NULL, "open-pic");
68 if (np == NULL) { 68 if (np == NULL) {
69 printk(KERN_ERR "Could not find open-pic node\n"); 69 printk(KERN_ERR "Could not find open-pic node\n");
70 return; 70 return;