File broadcom-wl.linux-6.16.patch of Package broadcom-wl

diff -rup a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
--- a/src/wl/sys/wl_linux.c	2025-06-29 18:57:17.868945385 +0200
+++ b/src/wl/sys/wl_linux.c	2025-06-29 18:59:20.584240961 +0200
@@ -2364,7 +2364,9 @@ wl_timer(
 #endif
 ) {
 	wl_timer_t *t =
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
+		timer_container_of(t, tl, timer);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
 		from_timer(t, tl, timer);
 #else
 		(wl_timer_t *)data;
openSUSE Build Service is sponsored by