From: ivanmeler Date: Tue, 29 Mar 2022 17:12:01 +0000 (+0000) Subject: Fix compilation of exynos-ss after disabling tracing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=15e46cbef2ce961ccf1cc96a63e9a46126c0e182;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Fix compilation of exynos-ss after disabling tracing --- 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;