mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2025-12-26 05:16:20 +08:00
Merge pull request #187 from Benetti-Engineering/fix/linux-6.16
Fix build for kernel 6.16
This commit is contained in:
commit
07fa9cf0fa
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user