Error in Rockchip v20230524 kernel 5.10.y
ERROR: modpost: module 8821cu uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
make[1]: *** [scripts/Makefile.modpost:168: modules-only.symvers] Error 1
make[1]: *** Deleting file 'modules-only.symvers'
make: *** [Makefile:1524: modules] Error 2
make: *** Waiting for unfinished jobs....
Signed-off-by: Steve Jeong <steve@how2flow.net>
On PowerPC64 architecture get_ra() is also present in Linux but with a
different name causing build to fail. To fix this let's rename local
get_ra() to rtl_get_ra().
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>