Commit 4da5e6a0 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David S. Miller

net: ucc_geth: fix build failure

My series to fix the reference counting of dt nodes introduced a build
failure. Fix it.

Fixes: fa310789 ("net: ucc_geth: drop acquired references in probe error path and remove")
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2b162928
...@@ -3924,8 +3924,8 @@ static int ucc_geth_remove(struct platform_device* ofdev) ...@@ -3924,8 +3924,8 @@ static int ucc_geth_remove(struct platform_device* ofdev)
unregister_netdev(dev); unregister_netdev(dev);
free_netdev(dev); free_netdev(dev);
ucc_geth_memclean(ugeth); ucc_geth_memclean(ugeth);
of_node_put(ugeth->info->tbi_node); of_node_put(ugeth->ug_info->tbi_node);
of_node_put(ugeth->info->phy_node); of_node_put(ugeth->ug_info->phy_node);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment