Skip to contentSkip to conversation

Add missing of_node_put() in mpc86xx_hpcn_init_irq().

PATCH Applied Jon Loeliger 2 participants 2 messages Feb 16, 2007 – Feb 17, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing of_node_put() in mpc86xx_hpcn_init_irq().

---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +2 -0
index 030f9b2..f42f801 100644
@@ -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
 }
Signature · 1 line
1.5.0.rc3.ge4b0e