From 62825cd3f813afc85b4c5cdf55f547c54b850926 Mon Sep 17 00:00:00 2001 From: Lee Yongjin Date: Tue, 9 Jan 2018 19:16:00 +0900 Subject: [PATCH] [COMMON] trace: ess: fixed the complie error by cmu and pmu Change-Id: I0f7370a0b15d1d0bf36d17562d8f55dbb89e9f71 Signed-off-by: Lee Yongjin --- 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 21c034a640bc..1097286bbe67 100644 --- a/include/linux/exynos-ss.h +++ b/include/linux/exynos-ss.h @@ -97,9 +97,15 @@ extern void exynos_ss_spinlock(void *lock, int en); #ifdef CONFIG_EXYNOS_SNAPSHOT_CLK struct clk; -extern void exynos_ss_clk(void *clock, const char *func_name, int mode); +extern void exynos_ss_clk(void *clock, const char *func_name, unsigned long arg, int mode); #else -#define exynos_ss_clk(a,b,c) do { } while(0); +#define exynos_ss_clk(a,b,c,d) do { } while(0); +#endif + +#ifdef CONFIG_EXYNOS_SNAPSHOT_PMU +extern void exynos_ss_pmu(int id, const char *func_name, int mode); +#else +#define exynos_ss_pmu(a,b,c) do { } while(0) #endif #ifdef CONFIG_EXYNOS_SNAPSHOT_FREQ @@ -148,7 +154,8 @@ void exynos_ss_dump_sfr(void); #define exynos_ss_irq_exit(a,b) do { } while(0) #define exynos_ss_irqs_disabled(a) do { } while(0) #define exynos_ss_spinlock(a,b) do { } while(0) -#define exynos_ss_clk(a,b,c) do { } while(0) +#define exynos_ss_clk(a,b,c,d) do { } while(0) +#define exynos_ss_pmu(a,b,c) do { } while(0) #define exynos_ss_freq(a,b,c,d) do { } while(0) #define exynos_ss_irq_exit_var(v) do { v = 0; } while(0) #define exynos_ss_reg(a,b,c,d) do { } while(0) -- 2.20.1