From 83bbd75d8cf1cee3e17a3ff3d3c506a2df0a7e87 Mon Sep 17 00:00:00 2001 From: ivanmeler Date: Tue, 29 Mar 2022 17:12:01 +0000 Subject: [PATCH] Fix compilation of exynos-ss after disabling tracing --- drivers/trace/exynos-ss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/trace/exynos-ss.c b/drivers/trace/exynos-ss.c index e3bdfdbf3220..9e52e78781fa 100644 --- a/drivers/trace/exynos-ss.c +++ b/drivers/trace/exynos-ss.c @@ -2087,6 +2087,7 @@ bool exynos_ss_dumper_one(void *v_dumper, break; } #endif +#ifndef CONFIG_EXYNOS_SNAPSHOT_MINIMIZED_MODE case ESS_FLAG_PRINTK: { char *log; @@ -2140,6 +2141,7 @@ bool exynos_ss_dumper_one(void *v_dumper, msg, val, callstack[0], callstack[1], callstack[2], callstack[3]); break; } +#endif default: snprintf(line, size, "unsupported inforation to dump\n"); goto out; -- 2.20.1