Commit d81210c2 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller

net: phy: don't export gen10g_read_status

gen10g_read_status is deprecated, therefore stop exporting it.
We don't want to encourage anybody to use it.
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5e91d39
...@@ -499,7 +499,7 @@ int gen10g_config_aneg(struct phy_device *phydev) ...@@ -499,7 +499,7 @@ int gen10g_config_aneg(struct phy_device *phydev)
} }
EXPORT_SYMBOL_GPL(gen10g_config_aneg); EXPORT_SYMBOL_GPL(gen10g_config_aneg);
int gen10g_read_status(struct phy_device *phydev) static int gen10g_read_status(struct phy_device *phydev)
{ {
/* For now just lie and say it's 10G all the time */ /* For now just lie and say it's 10G all the time */
phydev->speed = SPEED_10000; phydev->speed = SPEED_10000;
...@@ -507,7 +507,6 @@ int gen10g_read_status(struct phy_device *phydev) ...@@ -507,7 +507,6 @@ int gen10g_read_status(struct phy_device *phydev)
return genphy_c45_read_link(phydev); return genphy_c45_read_link(phydev);
} }
EXPORT_SYMBOL_GPL(gen10g_read_status);
int gen10g_no_soft_reset(struct phy_device *phydev) int gen10g_no_soft_reset(struct phy_device *phydev)
{ {
......
...@@ -1119,7 +1119,6 @@ int genphy_c45_read_status(struct phy_device *phydev); ...@@ -1119,7 +1119,6 @@ int genphy_c45_read_status(struct phy_device *phydev);
/* The gen10g_* functions are the old Clause 45 stub */ /* The gen10g_* functions are the old Clause 45 stub */
int gen10g_config_aneg(struct phy_device *phydev); int gen10g_config_aneg(struct phy_device *phydev);
int gen10g_read_status(struct phy_device *phydev);
int gen10g_no_soft_reset(struct phy_device *phydev); int gen10g_no_soft_reset(struct phy_device *phydev);
static inline int phy_read_status(struct phy_device *phydev) static inline int phy_read_status(struct phy_device *phydev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment