diff options
Diffstat (limited to 'drivers/net/mdio/of_mdio.c')
-rw-r--r-- | drivers/net/mdio/of_mdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mdio/of_mdio.c b/drivers/net/mdio/of_mdio.c index 9e3c815a070f..796e9c7857d0 100644 --- a/drivers/net/mdio/of_mdio.c +++ b/drivers/net/mdio/of_mdio.c @@ -231,6 +231,7 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) return 0; unregister: + of_node_put(child); mdiobus_unregister(mdio); return rc; } |