fix: os_dep/osdep_service.c: Check VFS namespace

In this case,
rockchip's android bsp 5.10.y

Signed-off-by: Steve Jeong <steve@how2flow.net>
pull/108/head
Steve Jeong 2023-08-03 17:07:21 +09:00
parent 89309578f9
commit 0c93304f38
1 changed files with 2 additions and 0 deletions

View File

@ -52,9 +52,11 @@ inline int RTW_STATUS_CODE(int error_code)
}
#endif
#ifdef ANDROID_GKI_VFS_EXPORT_ONLY
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0))
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
#endif
#endif
u32 rtw_atoi(u8 *s)
{