From de730086fd6a0c9ff70c7b03c9aff15b61c20ab3 Mon Sep 17 00:00:00 2001 From: Steve Jeong Date: Mon, 7 Aug 2023 09:55:12 +0900 Subject: [PATCH] fix: os_dep/osdep_service.c: Resolve the am_NOT_a_driver error with additional explanation. Signed-off-by: Steve Jeong --- os_dep/osdep_service.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index afa6477..fb21872 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -52,11 +52,15 @@ inline int RTW_STATUS_CODE(int error_code) } #endif +/* Include namespace when file system namespace errors occur during kernel build. + * about 'kernel_read' or 'kernel_write' + * + * This declaration was created to resolve an error on the Rockchip side + * You can modify or add flags in the fs/Makefile. + */ #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) {