diff --git a/driver/ch341.c b/driver/ch341.c index 0fa4798..8d0e1dd 100644 --- a/driver/ch341.c +++ b/driver/ch341.c @@ -55,7 +55,11 @@ #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