GitHub repository does not contain versioned tags. The version mentioned in the commit message also does not match the change log embedded in the source code, which seems to be where the official version came from. Since this is such a mess, treat the package as no versioning.
17 lines
408 B
Diff
17 lines
408 B
Diff
diff --git a/ch9344.c b/ch9344.c
|
|
index 8130334..b017faa 100644
|
|
--- a/ch9344.c
|
|
+++ b/ch9344.c
|
|
@@ -62,7 +62,11 @@
|
|
#include <linux/timer.h>
|
|
#include <linux/kfifo.h>
|
|
#include <asm/byteorder.h>
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0))
|
|
+#include <linux/unaligned.h>
|
|
+#else
|
|
#include <asm/unaligned.h>
|
|
+#endif
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
|
|
#include <linux/sched/signal.h>
|