From: lakkyung.jung Date: Tue, 15 May 2018 06:37:47 +0000 (+0900) Subject: [COMMON] soc: samsung: Adjust extern function by featuring of CPUIDLE. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=585e5fb4c7b81085740b9b4f5de449627b78a1a5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] soc: samsung: Adjust extern function by featuring of CPUIDLE. Change-Id: Id433a1967490899ae882e4b5ceed70e29fb18423 Signed-off-by: lakkyung.jung --- diff --git a/include/soc/samsung/exynos-cpupm.h b/include/soc/samsung/exynos-cpupm.h index 0914f0557062..eb132497d34a 100644 --- a/include/soc/samsung/exynos-cpupm.h +++ b/include/soc/samsung/exynos-cpupm.h @@ -17,12 +17,11 @@ enum { POWERMODE_TYPE_SYSTEM, }; -extern void disable_power_mode(int cpu, int type); -extern void enable_power_mode(int cpu, int type); - #ifdef CONFIG_CPU_IDLE void exynos_update_ip_idle_status(int index, int idle); int exynos_get_idle_ip_index(const char *name); +extern void disable_power_mode(int cpu, int type); +extern void enable_power_mode(int cpu, int type); #else static inline void exynos_update_ip_idle_status(int index, int idle) { @@ -33,6 +32,16 @@ static inline int exynos_get_idle_ip_index(const char *name) { return 0; } + +static inline void disable_power_mode(int cpu, int type) +{ + return; +} + +static inline void enable_power_mode(int cpu, int type) +{ + return; +} #endif #endif /* __EXYNOS_CPUPM_H */