ath79: fix ethernet driver build errors on kernel 6.1
authorShiji Yang <yangshiji66@qq.com>
Thu, 25 May 2023 10:35:20 +0000 (18:35 +0800)
committerDavid Bauer <mail@david-bauer.net>
Fri, 8 Sep 2023 16:06:30 +0000 (18:06 +0200)
commit7189b4578466a8a4c570ee328895d8a97a942893
treefec1d09f9a74424b9923ba257d63e0c94183bf07
parent5f59d28bc3434d5b582310579096fa839f86e1df
ath79: fix ethernet driver build errors on kernel 6.1

Some net APIs have changed on the new kernel. Update them to fix
compile errors.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c