aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 2574abde8d99..6c24cad322df 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -79,7 +79,7 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
79 mdio->irq[addr] = PHY_POLL; 79 mdio->irq[addr] = PHY_POLL;
80 } 80 }
81 81
82 phy = get_phy_device(mdio, addr); 82 phy = get_phy_device(mdio, addr, false);
83 if (!phy || IS_ERR(phy)) { 83 if (!phy || IS_ERR(phy)) {
84 dev_err(&mdio->dev, "error probing PHY at address %i\n", 84 dev_err(&mdio->dev, "error probing PHY at address %i\n",
85 addr); 85 addr);