Skip to content

Commit 12a8fe5

Browse files
AntonioBorneokuba-moo
authored andcommitted
net: stmmac: fix incorrect merge of patch upstream
Commit 7579262 ("net: stmmac: add flexible PPS to dwmac 4.10a") was intended to modify the struct dwmac410_ops, but it got somehow badly merged and modified the struct dwmac4_ops. Revert the modification in struct dwmac4_ops and re-apply it properly in struct dwmac410_ops. Fixes: 7579262 ("net: stmmac: add flexible PPS to dwmac 4.10a") Signed-off-by: Antonio Borneo <antonio.borneo@st.com> Reported-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.kernel.org/r/20201124223729.886992-1-antonio.borneo@st.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e255e11 commit 12a8fe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,6 @@ const struct stmmac_ops dwmac4_ops = {
11711171
.pcs_get_adv_lp = dwmac4_get_adv_lp,
11721172
.debug = dwmac4_debug,
11731173
.set_filter = dwmac4_set_filter,
1174-
.flex_pps_config = dwmac5_flex_pps_config,
11751174
.set_mac_loopback = dwmac4_set_mac_loopback,
11761175
.update_vlan_hash = dwmac4_update_vlan_hash,
11771176
.sarc_configure = dwmac4_sarc_configure,
@@ -1213,6 +1212,7 @@ const struct stmmac_ops dwmac410_ops = {
12131212
.pcs_get_adv_lp = dwmac4_get_adv_lp,
12141213
.debug = dwmac4_debug,
12151214
.set_filter = dwmac4_set_filter,
1215+
.flex_pps_config = dwmac5_flex_pps_config,
12161216
.set_mac_loopback = dwmac4_set_mac_loopback,
12171217
.update_vlan_hash = dwmac4_update_vlan_hash,
12181218
.sarc_configure = dwmac4_sarc_configure,

0 commit comments

Comments
 (0)