mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
net: phy: make genphy_c45_write_eee_adv() static
genphy_c45_write_eee_adv() isn't used outside phy-c45.c, so make it static. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/d23bd784-44e6-4a15-af3a-b37379156521@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
2696e451df
commit
9c477088b6
|
|
@ -680,7 +680,8 @@ EXPORT_SYMBOL_GPL(genphy_c45_read_mdix);
|
|||
* @phydev: target phy_device struct
|
||||
* @adv: the linkmode advertisement settings
|
||||
*/
|
||||
int genphy_c45_write_eee_adv(struct phy_device *phydev, unsigned long *adv)
|
||||
static int genphy_c45_write_eee_adv(struct phy_device *phydev,
|
||||
unsigned long *adv)
|
||||
{
|
||||
int val, changed = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -1953,7 +1953,6 @@ int genphy_c45_ethtool_get_eee(struct phy_device *phydev,
|
|||
struct ethtool_keee *data);
|
||||
int genphy_c45_ethtool_set_eee(struct phy_device *phydev,
|
||||
struct ethtool_keee *data);
|
||||
int genphy_c45_write_eee_adv(struct phy_device *phydev, unsigned long *adv);
|
||||
int genphy_c45_an_config_eee_aneg(struct phy_device *phydev);
|
||||
int genphy_c45_read_eee_adv(struct phy_device *phydev, unsigned long *adv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user