aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2025-04-07 09:38:59 +0000
committerJakub Kicinski <[email protected]>2025-04-10 00:56:08 +0000
commitf40a673d6b4a128fe95dd9b8c3ed02da50a6a862 (patch)
treeaa84c88e25348fd913fc1215f4fe1e1266f9d296 /drivers/net/ethernet/intel/igc/igc_main.c
parentMerge branch 'sch_sfq-derived-limit' (diff)
downloadkernel-f40a673d6b4a128fe95dd9b8c3ed02da50a6a862.tar.gz
kernel-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 <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions