mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user