diff options
author | Uwe Kleine-König | 2014-08-10 20:32:05 +0200 |
---|---|---|
committer | David S. Miller | 2014-08-11 06:40:15 +0200 |
commit | 4da5e6a01315fe2a6bc47fe9b076168141c9d9aa (patch) | |
tree | 2c4c676de4651f7bdf17a5b769a48a2921cd2c66 /drivers/net/ethernet/freescale/ucc_geth.c | |
parent | dm9000: Remove typedef board_info_t (diff) | |
download | kernel-qcow2-linux-4da5e6a01315fe2a6bc47fe9b076168141c9d9aa.tar.gz kernel-qcow2-linux-4da5e6a01315fe2a6bc47fe9b076168141c9d9aa.tar.xz kernel-qcow2-linux-4da5e6a01315fe2a6bc47fe9b076168141c9d9aa.zip |
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/ucc_geth.c')
-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) 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; } |