about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/ax99100/kernel-6.4-fix-define-semaphore.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/ax99100/kernel-6.4-fix-define-semaphore.patch')
-rw-r--r--pkgs/os-specific/linux/ax99100/kernel-6.4-fix-define-semaphore.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/os-specific/linux/ax99100/kernel-6.4-fix-define-semaphore.patch b/pkgs/os-specific/linux/ax99100/kernel-6.4-fix-define-semaphore.patch
deleted file mode 100644
index 434bb559e177..000000000000
--- a/pkgs/os-specific/linux/ax99100/kernel-6.4-fix-define-semaphore.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- ax99100_sp.c
-+++ ax99100_sp.c
-@@ -2670,8 +2670,10 @@ static void serial99100_dma_tx_tasklet (unsigned long param)
- 
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
- static DECLARE_MUTEX(serial99100_sem);
--#else
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
- static DEFINE_SEMAPHORE(serial99100_sem);
-+#else
-+static DEFINE_SEMAPHORE(serial99100_sem, 1);
- #endif
- 
- static struct uart_driver starex_serial_driver = {