summaryrefslogtreecommitdiffstats
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2025-04-07 12:38:59 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-09 17:56:08 -0700
commitf40a673d6b4a128fe95dd9b8c3ed02da50a6a862 (patch)
treeaa84c88e25348fd913fc1215f4fe1e1266f9d296 /rust/helpers/workqueue.c
parent29d261466fa6ef540e991681069a736791d7b60a (diff)
downloadlinux-f40a673d6b4a128fe95dd9b8c3ed02da50a6a862.tar.gz
linux-f40a673d6b4a128fe95dd9b8c3ed02da50a6a862.tar.bz2
linux-f40a673d6b4a128fe95dd9b8c3ed02da50a6a862.zip
net: phy: move phy_link_change() prior to mdio_bus_phy_may_suspend()
In an upcoming change, mdio_bus_phy_may_suspend() will need to distinguish a phylib-based PHY client from a phylink PHY client. For that, it will need to compare the phydev->phy_link_change() function pointer with the eponymous phy_link_change() provided by phylib. To avoid forward function declarations, the default PHY link state change method should be moved upwards. There is no functional change associated with this patch, it is only to reduce the noise from a real bug fix. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/20250407093900.2155112-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions