diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-05 18:46:55 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-07-05 18:46:55 +0000 |
commit | 110fd3525ac2b45ddbab1513421fcfa2c06a4d11 (patch) | |
tree | 1bbff503c3a8b9e2d95812e66686d123ec9e0b39 /target/linux/mcs814x/files-3.3/arch | |
parent | a8fab2cb781be9de11007aa97c270dd8cebb6b26 (diff) | |
download | mtk-20170518-110fd3525ac2b45ddbab1513421fcfa2c06a4d11.zip mtk-20170518-110fd3525ac2b45ddbab1513421fcfa2c06a4d11.tar.gz mtk-20170518-110fd3525ac2b45ddbab1513421fcfa2c06a4d11.tar.bz2 |
call of_node_put() on ethernet node
SVN-Revision: 32628
Diffstat (limited to 'target/linux/mcs814x/files-3.3/arch')
-rw-r--r-- | target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c | 2 |
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 87193a3..7bbac1c 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) |