diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-08-03 16:56:24 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-04 18:25:52 -0700 |
commit | f4bf467883f210d0bfbe784fffca52887de147fb (patch) | |
tree | 505c91b6343ee9cf6393f3b3b77eee05b1e97a64 /net/ipv4/tcp_minisocks.c | |
parent | 852c18d5611e5632b8d4456181462896e87b1662 (diff) |
net: phy: move marking PHY on SFP module into SFP code
Move marking the PHY as being on a SFP module into the SFP code between
getting the PHY device (and thus initialising the phy_device structure)
and registering the discovered device.
This means that PHY drivers can use phy_on_sfp() in their match and
get_features methods.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qRaga-001vKt-8X@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
0 files changed, 0 insertions, 0 deletions