Skip to content

Commit 57b8b05

Browse files
nashifkartben
authored andcommitted
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 <[email protected]>
1 parent 2522bb0 commit 57b8b05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/console/winstream_console.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <zephyr/devicetree.h>
1313
#include <zephyr/cache.h>
1414

15-
#ifdef SOC_FAMILY_INTEL_ADSP
15+
#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP
1616
#include <adsp_memory.h>
1717
#include <mem_window.h>
1818
#endif
@@ -95,7 +95,7 @@ static int winstream_console_init(void)
9595
void *buf = NULL;
9696
size_t size = 0;
9797

98-
#ifdef SOC_FAMILY_INTEL_ADSP
98+
#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP
9999
/* These have a SOC-specific "mem_window" device. FIXME: The
100100
* type handling is backwards here. We shouldn't be grabbing
101101
* an arbitrary DTS alias and assuming it's a mem_window at

0 commit comments

Comments
 (0)