diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-08-10 14:32:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-11 00:40:15 -0400 |
commit | 4da5e6a01315fe2a6bc47fe9b076168141c9d9aa (patch) | |
tree | 2c4c676de4651f7bdf17a5b769a48a2921cd2c66 /drivers/net/ethernet/freescale | |
parent | 2b162928afeac2448c790bdf46f9f7f88ac8f3f4 (diff) |
net: ucc_geth: fix build failure
My series to fix the reference counting of dt nodes introduced a build
failure. Fix it.
Fixes: fa310789a488 ("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>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index d6b64e316527..3cf0478b3728 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -3924,8 +3924,8 @@ static int ucc_geth_remove(struct platform_device* ofdev) | |||
3924 | unregister_netdev(dev); | 3924 | unregister_netdev(dev); |
3925 | free_netdev(dev); | 3925 | free_netdev(dev); |
3926 | ucc_geth_memclean(ugeth); | 3926 | ucc_geth_memclean(ugeth); |
3927 | of_node_put(ugeth->info->tbi_node); | 3927 | of_node_put(ugeth->ug_info->tbi_node); |
3928 | of_node_put(ugeth->info->phy_node); | 3928 | of_node_put(ugeth->ug_info->phy_node); |
3929 | 3929 | ||
3930 | return 0; | 3930 | return 0; |
3931 | } | 3931 | } |