mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
cpufreq: fix compile error if !CONFIG_CPU_FREQ
drivers/soc/rockchip/rockchip_system_monitor.c: In function 'rockchip_monitor_cpu_low_temp_adjust': drivers/soc/rockchip/rockchip_system_monitor.c:684:3: error: implicit declaration of function 'cpufreq_update_policy'; [-Werror=implicit-function-declaration] Change-Id: I0d47bdb848d22bd1e9d528a76ac0cfcf8fb62f2f Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
eccf203ed1
commit
d5f6a40bd0
|
|
@ -213,6 +213,7 @@ static inline unsigned int cpufreq_quick_get_max(unsigned int cpu)
|
|||
return 0;
|
||||
}
|
||||
static inline void disable_cpufreq(void) { }
|
||||
static inline void cpufreq_update_policy(unsigned int cpu) { }
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CPU_FREQ_STAT
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user