summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-11-23 20:45:46 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-04-04 14:40:30 +0100
commit414c598fbfef717c4a0655c2a7b552d35ac4acf2 (patch)
tree015b7623ca866e7da3e26dedd8cca11fa5554144
parent6a004f211017daa4d84836b6e2a6faeaa72ef4ba (diff)
net: stmmac: add phy_interface_t to LPI methods
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index b5481b774e73..f867d6f06849 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -1074,7 +1074,8 @@ static void stmmac_mac_link_up(struct phylink_config *config,
stmmac_hwtstamp_correct_latency(priv, priv);
}
-static void stmmac_mac_disable_tx_lpi(struct phylink_config *config)
+static void stmmac_mac_disable_tx_lpi(struct phylink_config *config,
+ phy_interface_t interface)
{
struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));
@@ -1094,7 +1095,8 @@ static void stmmac_mac_disable_tx_lpi(struct phylink_config *config)
mutex_unlock(&priv->lock);
}
-static int stmmac_mac_enable_tx_lpi(struct phylink_config *config, u32 timer,
+static int stmmac_mac_enable_tx_lpi(struct phylink_config *config,
+ phy_interface_t interface, u32 timer,
bool tx_clk_stop)
{
struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));