From d4f90143b9ffdac1fae765354b72366ad6c5ce65 Mon Sep 17 00:00:00 2001 From: Karl Mehltretter Date: Thu, 17 Sep 2026 08:30:51 +0200 Subject: [PATCH] net: phy: Fix device_set_wakeup_enable() reference in kernel-doc The phy_may_wakeup() documentation refers to device_set_wakeup_enabled(), but the function is named device_set_wakeup_enable(). Correct the reference. Signed-off-by: Karl Mehltretter Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli Link: https://patch.msgid.link/20260917063051.52727-1-kmehltretter@gmail.com Signed-off-by: Jakub Kicinski --- include/linux/phy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/phy.h b/include/linux/phy.h index 257634a543a1..7c5098a0dd6c 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1715,7 +1715,7 @@ static inline bool phy_can_wakeup(struct phy_device *phydev) * phy_may_wakeup() - indicate whether PHY has wakeup enabled * @phydev: The phy_device struct * - * Returns: true/false depending on the PHY driver's device_set_wakeup_enabled() + * Returns: true/false depending on the PHY driver's device_set_wakeup_enable() * setting if using the driver model, otherwise the legacy determination. */ bool phy_may_wakeup(struct phy_device *phydev);