call of_node_put() on ethernet node
SVN-Revision: 32628
This commit is contained in:
parent
a8fab2cb78
commit
110fd3525a
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue