* [PATCH] powerpc: fix compile error with 85xx/p1023_rds.c
@ 2011-12-08 6:10 Michael Neuling
2011-12-09 1:39 ` [PATCH] powerpc: fix compile error with 85xx/p1010rdb.c Tony Breeds
0 siblings, 1 reply; 2+ messages in thread
From: Michael Neuling @ 2011-12-08 6:10 UTC (permalink / raw)
To: Kyle Moffett, Benjamin Herrenschmidt
Cc: Paul Mackerras, linux-next, linuxppc-dev, Michael Ellerman, sfr
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 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: Michael Neuling <mikey@neuling.org>
diff --git a/arch/powerpc/platforms/85xx/p1023_rds.c b/arch/powerpc/platforms/85xx/p1023_rds.c
index e92a714..d951e70 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);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] powerpc: fix compile error with 85xx/p1010rdb.c
2011-12-08 6:10 [PATCH] powerpc: fix compile error with 85xx/p1023_rds.c Michael Neuling
@ 2011-12-09 1:39 ` Tony Breeds
0 siblings, 0 replies; 2+ messages in thread
From: Tony Breeds @ 2011-12-09 1:39 UTC (permalink / raw)
To: Michael Neuling
Cc: sfr, Michael Ellerman, linux-next, Paul Mackerras, Kyle Moffett,
linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
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>
---
Mikey already posted a fix for p1023_rds.c. I think this is the last
one.
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/85x
index 894f1e8..538bc3f 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)
0, 256, " OpenPIC ");
BUG_ON(mpic == NULL);
- of_node_put(np);
mpic_init(mpic);
-
}
Yours Tony
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-09 1:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08 6:10 [PATCH] powerpc: fix compile error with 85xx/p1023_rds.c Michael Neuling
2011-12-09 1:39 ` [PATCH] powerpc: fix compile error with 85xx/p1010rdb.c Tony Breeds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).