Skip to content

Commit

Permalink
powerpc: fix compile error with 85xx/p1023_rds.c
Browse files Browse the repository at this point in the history
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 996983b
  Author: Kyle Moffett <Kyle.D.Moffett@boeing.com>
  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 <mikey@neuling.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Michael Neuling authored and Kumar Gala committed Jan 4, 2012
1 parent 446bc1f commit 2c1c743
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/powerpc/platforms/85xx/p1023_rds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2c1c743

Please sign in to comment.