1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-01 09:15:22 +00:00

squash! fix: os_dep/osdep_service.c: Add a checking kernel version (>=5.4) for MODULE_IMPORT_NS

Signed-off-by: Steve Jeong <steve@how2flow.net>
This commit is contained in:
Steve Jeong 2023-08-03 12:00:18 +09:00
parent 317c6cd07b
commit 89309578f9

View File

@ -52,7 +52,7 @@ inline int RTW_STATUS_CODE(int error_code)
} }
#endif #endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0))
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
#endif #endif