powerpc: fix compile error with 85xx/p1010rdb.c
authorTony Breeds <tony@bakeyournoodle.com>
Fri, 9 Dec 2011 01:39:55 +0000 (12:39 +1100)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 4 Jan 2012 21:52:40 +0000 (15:52 -0600)
commitef88e3911c0e0301e73fa3b3b2567aabdbe17cc4
treeedacc55af8cd095e4443bde71bd652f25dbe1b98
parent2c1c7430390ec2148499a3b8f72e37ff5483056e
powerpc: fix compile error with 85xx/p1010rdb.c

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 996983b75cebb1bc1c2c545f20336f24ebfa17af
  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: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/p1010rdb.c