mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 08:28:26 +02:00
[mcs814x] call of_node_put() on ethernet node
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32628 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fa5a8f6863
commit
af91801f83
@ -125,6 +125,8 @@ static void mcs814x_eth_init(void)
|
|||||||
intspec = of_get_property(np, "nuport-mac,link-activity", NULL);
|
intspec = of_get_property(np, "nuport-mac,link-activity", NULL);
|
||||||
if (intspec)
|
if (intspec)
|
||||||
mcs814x_eth_led_cfg_set(be32_to_cpup(intspec));
|
mcs814x_eth_led_cfg_set(be32_to_cpup(intspec));
|
||||||
|
|
||||||
|
of_put_node(np);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __init mcs814x_init_machine(void)
|
void __init mcs814x_init_machine(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user