diff --git a/README.md b/README.md index 17f0599..6704dd2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # REALTEK RTL88x2B USB Linux Driver **Current Driver Version**: 5.13.1-30 -**Support Kernel**: 2.6.24 ~ 6.10 (with unofficial patches) +**Support Kernel**: 2.6.24 ~ 6.13 (with unofficial patches) Linux in-tree rtw8822bu driver is working in process, check [this](https://lore.kernel.org/lkml/20220518082318.3898514-1-s.hauer@pengutronix.de/) patchset. diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index a490028..e12dbfc 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -32,7 +32,9 @@ atomic_t _malloc_size = ATOMIC_INIT(0); #endif #endif /* DBG_MEMORY_LEAK */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0) +MODULE_IMPORT_NS("VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver"); +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); #endif