From 57b8b05221b97d05b1bdf5e29e5d0d49b2434533 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 8 Jan 2025 08:57:42 -0500 Subject: [PATCH] console: winstream: fix conditional should be CONFIG_SOC_FAMILY_INTEL_ADSP and not SOC_FAMILY_INTEL_ADSP. Partially fixes #83636 Signed-off-by: Anas Nashif --- drivers/console/winstream_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/console/winstream_console.c b/drivers/console/winstream_console.c index 08b0206a4d8..9a238326854 100644 --- a/drivers/console/winstream_console.c +++ b/drivers/console/winstream_console.c @@ -12,7 +12,7 @@ #include #include -#ifdef SOC_FAMILY_INTEL_ADSP +#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP #include #include #endif @@ -95,7 +95,7 @@ static int winstream_console_init(void) void *buf = NULL; size_t size = 0; -#ifdef SOC_FAMILY_INTEL_ADSP +#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP /* These have a SOC-specific "mem_window" device. FIXME: The * type handling is backwards here. We shouldn't be grabbing * an arbitrary DTS alias and assuming it's a mem_window at