aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3/arch/arm
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-05 18:46:55 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-05 18:46:55 +0000
commit110fd3525ac2b45ddbab1513421fcfa2c06a4d11 (patch)
tree1bbff503c3a8b9e2d95812e66686d123ec9e0b39 /target/linux/mcs814x/files-3.3/arch/arm
parenta8fab2cb781be9de11007aa97c270dd8cebb6b26 (diff)
downloadupstream-110fd3525ac2b45ddbab1513421fcfa2c06a4d11.tar.gz
upstream-110fd3525ac2b45ddbab1513421fcfa2c06a4d11.tar.bz2
upstream-110fd3525ac2b45ddbab1513421fcfa2c06a4d11.zip
call of_node_put() on ethernet node
SVN-Revision: 32628
Diffstat (limited to 'target/linux/mcs814x/files-3.3/arch/arm')
-rw-r--r--target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c2
1 files changed, 2 insertions, 0 deletions
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)