[PATCH] Add missing of_node_put() in mpc86xx_hpcn_init_irq().

Jon Loeliger jdl at jdl.com
Sat Feb 17 09:17:41 EST 2007


Signed-off-by: Jon Loeliger <jdl at freescale.com>

---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
index 030f9b2..f42f801 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -119,6 +119,8 @@ mpc86xx_hpcn_init_irq(void)
 	DBG("mpc86xxhpcn: cascade mapped to irq %d\n", cascade_irq);
 
 	i8259_init(cascade_node, 0);
+	of_node_put(cascade_node);
+
 	set_irq_chained_handler(cascade_irq, mpc86xx_8259_cascade);
 #endif
 }
-- 
1.5.0.rc3.ge4b0e




More information about the Linuxppc-dev mailing list