diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2011-12-08 20:39:55 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-01-04 16:52:40 -0500 |
commit | ef88e3911c0e0301e73fa3b3b2567aabdbe17cc4 (patch) | |
tree | edacc55af8cd095e4443bde71bd652f25dbe1b98 /arch | |
parent | 2c1c7430390ec2148499a3b8f72e37ff5483056e (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/85xx/p1010rdb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/p1010rdb.c b/arch/powerpc/platforms/85xx/p1010rdb.c index 894f1e84fef8..538bc3f57e9d 100644 --- a/arch/powerpc/platforms/85xx/p1010rdb.c +++ b/arch/powerpc/platforms/85xx/p1010rdb.c | |||
@@ -38,10 +38,8 @@ void __init p1010_rdb_pic_init(void) | |||
38 | 0, 256, " OpenPIC "); | 38 | 0, 256, " OpenPIC "); |
39 | 39 | ||
40 | BUG_ON(mpic == NULL); | 40 | BUG_ON(mpic == NULL); |
41 | of_node_put(np); | ||
42 | 41 | ||
43 | mpic_init(mpic); | 42 | mpic_init(mpic); |
44 | |||
45 | } | 43 | } |
46 | 44 | ||
47 | 45 | ||