From e92deeade47b0df78219c32261176f1d86e61a45 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 5 Jul 2012 18:46:55 +0000 Subject: [PATCH] [mcs814x] call of_node_put() on ethernet node SVN-Revision: 32628 --- target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c index 87193a31ed..7bbac1cded 100644 --- a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c +++ b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c @@ -125,6 +125,8 @@ static void mcs814x_eth_init(void) intspec = of_get_property(np, "nuport-mac,link-activity", NULL); if (intspec) mcs814x_eth_led_cfg_set(be32_to_cpup(intspec)); + + of_put_node(np); } void __init mcs814x_init_machine(void) -- 2.30.2