summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-01-12 09:35:38 -0800
committerRussell King <rmk+kernel@armlinux.org.uk>2020-01-29 23:16:42 +0000
commitb50c0e854f54bcc7070a2fd9283ad95187404f61 (patch)
tree77ac45e59fb90b407ae5dc16c16cf3a4e4abea46 /include/linux
parentd7cbac15989b1face962b7793071df36304a7354 (diff)
net: phy: Added IRQ print to phylink_bringup_phy()
The information about the PHY attached to the PHYLINK instance is useful but is missing the IRQ prints that phy_attached_info() adds. phy_attached_info() is a bit long and it would not be possible to use phylink_info() anyway. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 1645f1ac76bc..8492aaa97d0a 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1092,6 +1092,8 @@ static inline void phy_unlock_mdio_bus(struct phy_device *phydev)
void phy_attached_print(struct phy_device *phydev, const char *fmt, ...)
__printf(2, 3);
+char *phy_attached_info_irq(struct phy_device *phydev)
+ __malloc;
void phy_attached_info(struct phy_device *phydev);
/* Clause 22 PHY */