From 53518f5b413e720815b0deddf477bc1dd51d7795 Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Thu, 8 Dec 2011 17:10:54 +1100 Subject: [PATCH] powerpc: fix compile error with 85xx/p1023_rds.c Current linux-next compiled with mpc85xx_smp_defconfig causes this: arch/powerpc/platforms/85xx/p1023_rds.c: In function 'mpc85xx_rds_pic_init': arch/powerpc/platforms/85xx/p1023_rds.c:102:14: error: 'np' undeclared (first use in this function) arch/powerpc/platforms/85xx/p1023_rds.c:102:14: note: each undeclared identifier is reported only once for each function it appears in Introduced in: commit 8901ec1eb97df7944b632b7f7fb1114b0f45cdf1 Author: Kyle Moffett Date: Fri Dec 2 06:28:02 2011 +0000 powerpc/mpic: Search for open-pic device-tree node if NULL Signed-off-by: Michael Neuling Signed-off-by: Kumar Gala --- arch/powerpc/platforms/85xx/p1023_rds.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/platforms/85xx/p1023_rds.c b/arch/powerpc/platforms/85xx/p1023_rds.c index e92a714d2f364..d951e7027bb65 100644 --- a/arch/powerpc/platforms/85xx/p1023_rds.c +++ b/arch/powerpc/platforms/85xx/p1023_rds.c @@ -99,7 +99,6 @@ static void __init mpc85xx_rds_pic_init(void) 0, 256, " OpenPIC "); BUG_ON(mpic == NULL); - of_node_put(np); mpic_init(mpic); } -- 2.39.5