From 585e5fb4c7b81085740b9b4f5de449627b78a1a5 Mon Sep 17 00:00:00 2001 From: "lakkyung.jung" Date: Tue, 15 May 2018 15:37:47 +0900 Subject: [PATCH] [COMMON] soc: samsung: Adjust extern function by featuring of CPUIDLE. Change-Id: Id433a1967490899ae882e4b5ceed70e29fb18423 Signed-off-by: lakkyung.jung --- include/soc/samsung/exynos-cpupm.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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 */ -- 2.20.1