mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
workaround for the error of "__symbol_put " undefined
ERROR: "__symbol_put" [../../motorola/kernel/modules/drivers/input/ touchscreen/touchscreen_mmi/touchscreen_mmi.ko] undefined! ERROR: "__symbol_get" [../../motorola/kernel/modules/drivers/input/ touchscreen/touchscreen_mmi/touchscreen_mmi.ko] undefined! Change-Id: I5ae7f9e395c61a1cd7f4b7ee7e914880ad767448 Reviewed-on: https://gerrit.mot.com/1745785 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Zhenxin Xi <xizx@motorola.com> Reviewed-on: https://gerrit.mot.com/1755124 Reviewed-by: Lianlu Chen <chenll4@lenovo.com>
This commit is contained in:
parent
1188d4ea63
commit
2e75049063
1 changed files with 4 additions and 0 deletions
|
|
@ -1086,6 +1086,8 @@ void __symbol_put(const char *symbol)
|
|||
module_put(owner);
|
||||
preempt_enable();
|
||||
}
|
||||
/* MMI_STOPSHIP: touchscreen: export the symbol for temp rebase */
|
||||
EXPORT_SYMBOL(__symbol_put);
|
||||
|
||||
/* Note this assumes addr is a function, which it currently always is. */
|
||||
void symbol_put_addr(void *addr)
|
||||
|
|
@ -2320,6 +2322,8 @@ fail:
|
|||
preempt_enable();
|
||||
return NULL;
|
||||
}
|
||||
/* MMI_STOPSHIP: touchscreen: export the symbol for temp rebase */
|
||||
EXPORT_SYMBOL(__symbol_get);
|
||||
|
||||
/*
|
||||
* Ensure that an exported symbol [global namespace] does not already exist
|
||||
|
|
|
|||
Loading…
Reference in a new issue