diff options
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/of_mdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index 483c0adcad87..2574abde8d99 100644 --- a/drivers/of/of_mdio.c +++ b/drivers/of/of_mdio.c | |||
@@ -45,6 +45,8 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) | |||
45 | for (i=0; i<PHY_MAX_ADDR; i++) | 45 | for (i=0; i<PHY_MAX_ADDR; i++) |
46 | mdio->irq[i] = PHY_POLL; | 46 | mdio->irq[i] = PHY_POLL; |
47 | 47 | ||
48 | mdio->dev.of_node = np; | ||
49 | |||
48 | /* Register the MDIO bus */ | 50 | /* Register the MDIO bus */ |
49 | rc = mdiobus_register(mdio); | 51 | rc = mdiobus_register(mdio); |
50 | if (rc) | 52 | if (rc) |