]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: stmmac: Rename phylink_get_caps() callback to update_caps()
authorSerge Semin <fancer.lancer@gmail.com>
Fri, 19 Apr 2024 09:03:05 +0000 (12:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Sep 2025 13:30:25 +0000 (15:30 +0200)
commitd02d635fc03d5bfe26106c929109290c5fc862e2
treeb80250d0f2f85085ca1144dc4407738e5891509c
parentce006b60fc495e2592a65b94d397114c96ff5f94
net: stmmac: Rename phylink_get_caps() callback to update_caps()

[ Upstream commit dc144baeb4fbfa0d91ce9c3875307566f58704ec ]

Since recent commits the stmmac_ops::phylink_get_caps() callback has no
longer been responsible for the phylink MAC capabilities getting, but
merely updates the MAC capabilities in the mac_device_info::link::caps
field. Rename the callback to comply with the what the method does now.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Stable-dep-of: 42ef11b2bff5 ("net: stmmac: xgmac: Correct supported speed modes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c