ramips: update drivers to be compatible with kernel 6.12 and above
authorMieczyslaw Nalewaj <[email protected]>
Sun, 6 Jul 2025 12:50:59 +0000 (14:50 +0200)
committerNick Hainke <[email protected]>
Mon, 7 Jul 2025 18:30:26 +0000 (20:30 +0200)
commit6f09f8ca315793c9e42a31e94be6e7c6ecd63412
treeaea504bcce437d371ae0eee1b74b42bfa68cfc5a
parentce97258300f8dd3972fed2bc94cbf78d222cdf4c
ramips: update drivers to be compatible with kernel 6.12 and above

Replace .remove_new with .remove for compatibility with future kernel versions.
Dropping compatibility with older kernels.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19320
Signed-off-by: Nick Hainke <[email protected]>
target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3050.c
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c