package/rtl8821cu: fix build failure with Linux 6.17

* Bump to version 2025-10-09
* Drop upstreamed local patch

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Giulio Benetti
2025-10-09 23:36:12 +02:00
committed by Julien Olivain
parent 6384d41430
commit 3951339cd9
3 changed files with 2 additions and 36 deletions

View File

@@ -1,34 +0,0 @@
From 13f85e370c265b782a801cd22f86cea6f6cda876 Mon Sep 17 00:00:00 2001
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
Date: Mon, 8 Sep 2025 21:04:30 +0200
Subject: [PATCH] Fix build for kernel 6.16
With commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=41cb08555c4164996d67c78b3bf1c658075b75f1
from_timer() has been renamed to timer_container_of() so let's rename
according to linux version >= 6.16.
Upstream: https://github.com/morrownr/8821cu-20210916/pull/187
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
include/osdep_service_linux.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/osdep_service_linux.h b/include/osdep_service_linux.h
index ed1e19b..c25f6a2 100644
--- a/include/osdep_service_linux.h
+++ b/include/osdep_service_linux.h
@@ -210,6 +210,10 @@ typedef void *thread_context;
typedef void timer_hdl_return;
typedef void *timer_hdl_context;
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(6, 16, 0))
+#define from_timer timer_container_of
+#endif
+
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 41))
typedef struct work_struct _workitem;
#else
--
2.43.0

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 6b4bf57959d14ad1a2637a0385876c6fb319d6e4951986bbba18de3c0e65bb86 rtl8821cu-d74134a1c68f59f2b80cdd6c6afb8c1a8a687cbf.tar.gz
sha256 3e7fc5b598b81006fb07a5a3534aa4288cb387ed531c71f3734e55e6cae729b0 rtl8821cu-3d1fcf4bc838542ceb03b0b4e9e40600720cf6ae.tar.gz
sha256 22cdb0a9cf492dbf05c5b27381a5c0e73ae0d4622427b522b0ba92b7495e5fb0 LICENSE

View File

@@ -4,7 +4,7 @@
#
################################################################################
RTL8821CU_VERSION = d74134a1c68f59f2b80cdd6c6afb8c1a8a687cbf
RTL8821CU_VERSION = 3d1fcf4bc838542ceb03b0b4e9e40600720cf6ae
RTL8821CU_SITE = $(call github,morrownr,8821cu-20210916,$(RTL8821CU_VERSION))
RTL8821CU_LICENSE = GPL-2.0
RTL8821CU_LICENSE_FILES = LICENSE