mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
sec_mmi: import ANDROID_GKI_VFS_EXPORT_ONLY namespace for kernel_read
kernel_read and kernel_write are exported with specific ANDROID_GKI_VFS_EXPORT_ONLY namespace, so the DLKM should import the namespace. error log: [ 35.634756] sec_mmi: module uses symbol (kernel_read) from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it. [ 35.648698] sec_mmi: Unknown symbol kernel_read (err -22) Change-Id: Ic333a4c66115c15aa0994c1d2210eea62db88d32 Reviewed-on: https://gerrit.mot.com/1749485 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ca04a28583
commit
b2bceb7a6d
1 changed files with 3 additions and 0 deletions
|
|
@ -2687,6 +2687,9 @@ static void __exit sec_ts_exit(void)
|
|||
}
|
||||
|
||||
MODULE_AUTHOR("Hyobae, Ahn<hyobae.ahn@samsung.com>");
|
||||
#if KERNEL_VERSION(5, 4, 0) <= LINUX_VERSION_CODE
|
||||
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
|
||||
#endif
|
||||
MODULE_DESCRIPTION("Samsung Electronics TouchScreen driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue