aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit6bd1255c3944e39715736b4611fdca8c4482ea55 (patch)
treeb3faf78df80ac393a5937a56c95c92fff8e8cd63 /target/linux
parente9c7ab503412f8107515052673b63ab38756f18a (diff)
downloadupstream-6bd1255c3944e39715736b4611fdca8c4482ea55.tar.gz
upstream-6bd1255c3944e39715736b4611fdca8c4482ea55.tar.bz2
upstream-6bd1255c3944e39715736b4611fdca8c4482ea55.zip
[mcs814x] call of_node_put() on ethernet node
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32628 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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)