9
0
Fork 0

net: phy: Print ethernet device in the link information

When multiple ethernet devices are in use it's interesting to know
which one has link.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-05-14 16:33:33 +02:00
parent be0404c21f
commit 0ca1d8a456
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ int phy_update_status(struct phy_device *dev)
dev->adjust_link(edev);
if (dev->link)
pr_info("%dMbps %s duplex link detected\n", dev->speed,
dev_info(&edev->dev, "%dMbps %s duplex link detected\n", dev->speed,
dev->duplex ? "full" : "half");
return 0;