1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-22 13:34:47 +00:00

fix (again) the -am_NOT_a_driver problem-

This commit is contained in:
morrownr 2023-09-10 15:39:08 -05:00
parent 9e2772540f
commit f6d4598290
2 changed files with 9 additions and 10 deletions

View File

@ -21,6 +21,15 @@ MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Realtek Wireless Lan Driver"); MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
MODULE_AUTHOR("Realtek Semiconductor Corp."); MODULE_AUTHOR("Realtek Semiconductor Corp.");
MODULE_VERSION(DRIVERVERSION); MODULE_VERSION(DRIVERVERSION);
/* Include namespace when file system namespace errors occur during
* kernel build. This is about 'kernel_read' or 'kernel_write'
*
* This declaration was created to resolve an error on Rockchip.
* You can modify or add flags in the fs/Makefile.
*/
#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
/* module param defaults */ /* module param defaults */
int rtw_chip_version = 0x00; int rtw_chip_version = 0x00;

View File

@ -52,16 +52,6 @@ inline int RTW_STATUS_CODE(int error_code)
} }
#endif #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) u32 rtw_atoi(u8 *s)
{ {