summaryrefslogtreecommitdiff
path: root/net/mdio-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-09-30 09:07:06 -0400
committerTom Rini <trini@konsulko.com>2020-09-30 09:07:06 -0400
commit527fad0b2484bf1dd4c443c4c8f4384aa256938f (patch)
treee50b2e3551ce9ac05713b1204e63faea793e94f7 /net/mdio-uclass.c
parent0ac83d080a0044cd0d8f782ba12f02cf969d3004 (diff)
parentceb70bb870ac0761992d3e38e9287a338e3b846a (diff)
Merge branch '2020-09-29-dev_xxx-print-improvement' into next
- Improve our dev_xxx(..) wrappers to be generally used and available rather than discarded at link/compile time.
Diffstat (limited to 'net/mdio-uclass.c')
-rw-r--r--net/mdio-uclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c
index 66ee2e19763..b5e8e465123 100644
--- a/net/mdio-uclass.c
+++ b/net/mdio-uclass.c
@@ -145,7 +145,7 @@ static struct phy_device *dm_eth_connect_phy_handle(struct udevice *ethdev,
break;
if (!ofnode_valid(phandle.node)) {
- dev_dbg(dev, "can't find PHY node\n");
+ dev_dbg(ethdev, "can't find PHY node\n");
return NULL;
}
@@ -161,7 +161,7 @@ static struct phy_device *dm_eth_connect_phy_handle(struct udevice *ethdev,
if (uclass_get_device_by_ofnode(UCLASS_MDIO,
ofnode_get_parent(phandle.node),
&mdiodev)) {
- dev_dbg(dev, "can't find MDIO bus for node %s\n",
+ dev_dbg(ethdev, "can't find MDIO bus for node %s\n",
ofnode_get_name(ofnode_get_parent(phandle.node)));
return NULL;
}