From 52a91c8f8e5327466aca9ac592bb2c94f503d972 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Mon, 18 Nov 2024 12:59:55 -0800 Subject: [PATCH] unaligned.sh moved from asm/ to linux/ in kernel 6.12.0 --- driver/ch343.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/driver/ch343.c b/driver/ch343.c index 59b519b..c347ab9 100644 --- a/driver/ch343.c +++ b/driver/ch343.c @@ -52,7 +52,12 @@ #include #include #include + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)) +#include +#else #include +#endif #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)) #include