]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ramips: update drivers to be compatible with kernel 6.12 18711/head
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Fri, 25 Apr 2025 14:59:55 +0000 (16:59 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 6 May 2025 22:40:05 +0000 (00:40 +0200)
commit044c7d55b3c9e013e17c0c68d1bffee47d1d0256
treee132d3213d3ae02dfc8795771e8251df89ff516e
parent6b0f414aff8ef8bd453c3b907781979c64c3e580
ramips: update drivers to be compatible with kernel 6.12

Update drivers to be compatible with kernel 6.12:
 - change deprecate function strlcpy to strscpy
 - fix kernel warning "no previous prototype", by static declaration
 - add missing of.h headers

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18711
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3050.c
target/linux/ramips/files/drivers/net/ethernet/ralink/ethtool.c
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mt7530.c