From bbd985cfe219e52780d895818422b444cc18f0ad Mon Sep 17 00:00:00 2001 From: Naeun Yoo Date: Thu, 11 Jan 2018 22:24:18 +0900 Subject: [PATCH] [COMMON] include: soc: modify exynos_ss for acpm Change-Id: I6acd82ca5963b45e9bc349beb1455f0689616a86 Signed-off-by: Naeun Yoo --- include/linux/exynos-ss.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/include/linux/exynos-ss.h b/include/linux/exynos-ss.h index 1097286bbe67..eb4b68f90d9e 100644 --- a/include/linux/exynos-ss.h +++ b/include/linux/exynos-ss.h @@ -43,10 +43,16 @@ extern int disable_mc_powerdn(void); #endif /* option */ +#ifdef CONFIG_EXYNOS_SNAPSHOT_ACPM +extern void exynos_ss_acpm(unsigned long long timestamp, const char *log, unsigned int data); +#else +#define exynos_ss_acpm(a,b,c) do { } while(0) +#endif + #ifdef CONFIG_EXYNOS_SNAPSHOT_REGULATOR -extern void exynos_ss_regulator(char* f_name, unsigned int addr, unsigned int volt, int en); +extern void exynos_ss_regulator(unsigned long long timestamp, char* f_name, unsigned int addr, unsigned int volt, unsigned int rvolt, int en); #else -#define exynos_ss_regulator(a,b,c,d) do { } while(0) +#define exynos_ss_regulator(a,b,c,d,e,f) do { } while(0) #endif #ifdef CONFIG_EXYNOS_SNAPSHOT_THERMAL @@ -142,12 +148,13 @@ void exynos_ss_dump_sfr(void); #endif #else +#define exynos_ss_acpm(a,b,c) do { } while(0) #define exynos_ss_task(a,b) do { } while(0) #define exynos_ss_work(a,b,c,d) do { } while(0) #define exynos_ss_clockevent(a,b,c) do { } while(0) #define exynos_ss_cpuidle(a,b,c,d) do { } while(0) #define exynos_ss_suspend(a,b,c) do { } while(0) -#define exynos_ss_regulator(a,b,c,d) do { } while(0) +#define exynos_ss_regulator(a,b,c,d,e,f) do { } while(0) #define exynos_ss_thermal(a,b,c,d) do { } while(0) #define exynos_ss_mailbox(a,b,c,d) do { } while(0) #define exynos_ss_irq(a,b,c,d) do { } while(0) -- 2.20.1