cyttsp5_core.c: Import namepace for "kernel_read"

For build error from 8450 postCS6:

9573 ERROR: modpost: module parade_tma5xx_mmi_core uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
9574 ERROR: modpost: module parade_tma5xx_mmi_core uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.

Change-Id: I14cf7ee5284f2fbd378643262db7840da52bf7cf
Signed-off-by: a7301c <a7301c@motorola.com>
Reviewed-on: https://gerrit.mot.com/2195084
Reviewed-by: Qing Chang <qing@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
This commit is contained in:
a7301c 2022-02-20 16:22:26 -06:00 • committed by Yinjun Chen
commit d7e228f268

View file

@ -6863,5 +6863,8 @@ int cyttsp5_release(struct cyttsp5_core_data *cd)
EXPORT_SYMBOL_GPL(cyttsp5_release);
MODULE_LICENSE("GPL");
#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("Parade TrueTouch(R) Standard Product Core Driver");
MODULE_AUTHOR("Parade Technologies <ttdrivers@paradetech.com>");