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
This commit is contained in:

committed by
Quentin Perret

parent
e7cf28a1a4
commit
8943a2e7a3
@@ -10,6 +10,7 @@
|
||||
#include "sched.h"
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user