summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phylib-internal.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2025-03-03 21:18:46 +0100
committerJakub Kicinski <kuba@kernel.org>2025-03-05 19:13:53 -0800
commite7f984e925d23f8fd0469e344a8dc225e1a1b0ab (patch)
treec4103195eecd5451fcd98a3769d5c2b7f875df4a /drivers/net/phy/phylib-internal.h
parente0327e9f859771a687884285c3ecc942eeae016a (diff)
net: phy: move PHY package related code from phy.h to phy_package.c
Move PHY package related inline functions from phy.h to phy_package.c. While doing so remove locked versions phy_package_read() and phy_package_write() which have no user. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://patch.msgid.link/a4518379-7a5d-45f3-831c-b7fde6512c65@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phylib-internal.h')
-rw-r--r--drivers/net/phy/phylib-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/phylib-internal.h b/drivers/net/phy/phylib-internal.h
index dc9592c6bb8e..afac2bd15b50 100644
--- a/drivers/net/phy/phylib-internal.h
+++ b/drivers/net/phy/phylib-internal.h
@@ -20,6 +20,8 @@ void of_set_phy_timing_role(struct phy_device *phydev);
int phy_speed_down_core(struct phy_device *phydev);
void phy_check_downshift(struct phy_device *phydev);
+int phy_package_address(struct phy_device *phydev, unsigned int addr_offset);
+
int genphy_c45_read_eee_adv(struct phy_device *phydev, unsigned long *adv);
#endif /* __PHYLIB_INTERNAL_H */