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