]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] 86xx: Add missing of_node_put() in mpc86xx_hpcn_init_irq().
authorJon Loeliger <jdl@jdl.com>
Fri, 16 Feb 2007 22:17:41 +0000 (16:17 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Sat, 17 Feb 2007 00:17:00 +0000 (18:17 -0600)
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c

index f4dd5f2f8a28f262911afba39eb20016784432ab..7e237eb7a70789357af7bc00164350c03bd66d6c 100644 (file)
@@ -120,6 +120,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
 }