net: ucc_geth: fix build failure
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 10 Aug 2014 18:32:05 +0000 (20:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Aug 2014 04:40:15 +0000 (21:40 -0700)
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>
drivers/net/ethernet/freescale/ucc_geth.c

index d6b64e3..3cf0478 100644 (file)
@@ -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;
 }