Skip to content

Commit

Permalink
net: ucc_geth: fix build failure
Browse files Browse the repository at this point in the history
My series to fix the reference counting of dt nodes introduced a build
failure. Fix it.

Fixes: fa31078 ("net: ucc_geth: drop acquired references in probe error path and remove")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Uwe Kleine-König authored and David S. Miller committed Aug 11, 2014
1 parent 2b16292 commit 4da5e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/freescale/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3924,8 +3924,8 @@ static int ucc_geth_remove(struct platform_device* ofdev)
unregister_netdev(dev);
free_netdev(dev);
ucc_geth_memclean(ugeth);
of_node_put(ugeth->info->tbi_node);
of_node_put(ugeth->info->phy_node);
of_node_put(ugeth->ug_info->tbi_node);
of_node_put(ugeth->ug_info->phy_node);

return 0;
}
Expand Down

0 comments on commit 4da5e6a

Please sign in to comment.