Skip to content

Commit

Permalink
console: winstream: fix conditional
Browse files Browse the repository at this point in the history
should be CONFIG_SOC_FAMILY_INTEL_ADSP and not SOC_FAMILY_INTEL_ADSP.

Partially fixes #83636

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and kartben committed Jan 8, 2025
1 parent 2522bb0 commit 57b8b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/console/winstream_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <zephyr/devicetree.h>
#include <zephyr/cache.h>

#ifdef SOC_FAMILY_INTEL_ADSP
#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP
#include <adsp_memory.h>
#include <mem_window.h>
#endif
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 57b8b05

Please sign in to comment.