diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-01-12 09:35:38 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-14 10:56:58 -0800 |
commit | e27f178793de16ca1b421f2c3f4bc3497b2ce723 (patch) | |
tree | 34ca2ad400d7be64d9657e552bdf66079046f45e /include/linux/phy.h | |
parent | 76ccf5288c62e998a434dd33fa58e1e8e2673660 (diff) | |
download | lwn-e27f178793de16ca1b421f2c3f4bc3497b2ce723.tar.gz lwn-e27f178793de16ca1b421f2c3f4bc3497b2ce723.zip |
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/phy.h')
-rw-r--r-- | include/linux/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 5932bb8e9c35..3a70b756ac1a 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1131,6 +1131,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 */ |