Skip to content

Commit

Permalink
powerpc: fix compile error with 85xx/p1010rdb.c
Browse files Browse the repository at this point in the history
Current linux-next compiled with mpc85xx_defconfig causes this:

arch/powerpc/platforms/85xx/p1010rdb.c:41:14: error: 'np' undeclared (first use in this function)
arch/powerpc/platforms/85xx/p1023_rds.c:102:14: error: 'np' undeclared (first use in this function)

Introduced in:
  commit 996983b
  Author: Kyle Moffett <[email protected]>
  Date:   Fri Dec 2 06:28:02 2011 +0000
  powerpc/mpic: Search for open-pic device-tree node if NULL

Signed-off-by: Tony Breeds <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
tbreeds authored and kumargala committed Jan 4, 2012
1 parent 2c1c743 commit ef88e39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/85xx/p1010rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ void __init p1010_rdb_pic_init(void)
0, 256, " OpenPIC ");

BUG_ON(mpic == NULL);
of_node_put(np);

mpic_init(mpic);

}


Expand Down

0 comments on commit ef88e39

Please sign in to comment.