From 9e2772540f66a69170f43864a6560d0d190d97b1 Mon Sep 17 00:00:00 2001 From: morrownr Date: Mon, 7 Aug 2023 14:42:23 -0500 Subject: [PATCH] fix am_NOT_a_driver problem - appears to be specific to Android --- os_dep/osdep_service.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index fc56358..0413f0a 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -52,6 +52,16 @@ 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 + MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +#endif + u32 rtw_atoi(u8 *s) {