diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-11-23 20:42:06 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-09-29 10:14:58 +0100 |
commit | 97da352262e63f5f7763ea1e4d475a60c13af2ad (patch) | |
tree | 315110cac29ff82395f3cb101695817f09da87be | |
parent | 274fde8a69517d9a409672c6af758bda104a4064 (diff) |
net: dsa: mt753x: add phy_interface_t to LPI methodsnet-queue
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
-rw-r--r-- | drivers/net/dsa/mt7530.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index 548b85befbf4..df64038ecba2 100644 --- a/drivers/net/dsa/mt7530.c +++ b/drivers/net/dsa/mt7530.c @@ -2985,7 +2985,8 @@ static void mt753x_phylink_mac_link_up(struct phylink_config *config, mt7530_set(priv, MT753X_PMCR_P(dp->index), mcr); } -static void mt753x_phylink_mac_disable_tx_lpi(struct phylink_config *config) +static void mt753x_phylink_mac_disable_tx_lpi(struct phylink_config *config, + phy_interface_t interface) { struct dsa_port *dp = dsa_phylink_to_port(config); struct mt7530_priv *priv = dp->ds->priv; @@ -2995,6 +2996,7 @@ static void mt753x_phylink_mac_disable_tx_lpi(struct phylink_config *config) } static int mt753x_phylink_mac_enable_tx_lpi(struct phylink_config *config, + phy_interface_t interface, u32 timer, bool tx_clock_stop) { struct dsa_port *dp = dsa_phylink_to_port(config); |