ANDROID: android: Export symbols for invoking cpufreq_update_util()
In order to update cpufreq, vendor modules invoke cpufreq_update_util(), but when we build our modules, report error: ERROR: modpost: "cpufreq_update_util_data" [xxx.ko] undefined! Bug: 192218676 Signed-off-by: Liujie Xie <xieliujie@oppo.com> Change-Id: Ib1da70229f04b08d8d812d065021dec0bf891e0e (cherry picked from commit 8943a2e7a33e33fd89614ac83b33b30f8d8c6b96) (cherry picked from commit d1bc61dd85e8d28f1df0e22e2d73aa9e99cb645e)
This commit is contained in:
parent
546b0f9d8b
commit
2878003246
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
DEFINE_PER_CPU(struct update_util_data __rcu *, cpufreq_update_util_data);
|
||||
EXPORT_PER_CPU_SYMBOL_GPL(cpufreq_update_util_data);
|
||||
|
||||
/**
|
||||
* cpufreq_add_update_util_hook - Populate the CPU's update_util_data pointer.
|
||||
|
Loading…
Reference in New Issue
Block a user