From 9cd43a0614d9a881f42d84648f05371c741699f0 Mon Sep 17 00:00:00 2001 From: Markus Stockhausen Date: Thu, 30 Jul 2026 08:56:13 +0200 Subject: [PATCH] realtek: refresh kernel patches Aovid build warnings because of wrong offsets in kernel patches. Link: https://github.com/openwrt/openwrt/pull/24485 Signed-off-by: Markus Stockhausen --- .../300-02-enhance-realtek-board-setup.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/realtek/patches-6.18/300-02-enhance-realtek-board-setup.patch b/target/linux/realtek/patches-6.18/300-02-enhance-realtek-board-setup.patch index 3fd3d1393da..962c68a935e 100644 --- a/target/linux/realtek/patches-6.18/300-02-enhance-realtek-board-setup.patch +++ b/target/linux/realtek/patches-6.18/300-02-enhance-realtek-board-setup.patch @@ -21,11 +21,10 @@ Signed-off-by: Markus Stockhausen load-$(CONFIG_MIPS_GENERIC) += 0xffffffff80100000 --- a/arch/mips/generic/board-realtek.c +++ b/arch/mips/generic/board-realtek.c -@@ -10,6 +10,344 @@ - +@@ -11,6 +11,344 @@ #include #include -+ + +#include + +#define RTL_SOC_BASE ((volatile void *) 0xB8000000) @@ -363,10 +362,11 @@ Signed-off-by: Markus Stockhausen + fw_arg2 = 0; +} + - ++ static __init int realtek_add_initrd(void *fdt) { -@@ -54,6 +393,8 @@ static __init const void *realtek_fixup_ + int node, err; +@@ -54,6 +392,8 @@ static __init const void *realtek_fixup_ { static unsigned char fdt_buf[16 << 10] __initdata; int err; @@ -375,7 +375,7 @@ Signed-off-by: Markus Stockhausen if (fdt_check_header(fdt)) panic("Corrupt DT"); -@@ -69,11 +410,28 @@ static __init const void *realtek_fixup_ +@@ -69,11 +409,28 @@ static __init const void *realtek_fixup_ } static const struct of_device_id realtek_of_match[] __initconst = { -- 2.47.3