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 <anas.nashif@intel.com>
This commit is contained in:
parent
2522bb0f1b
commit
57b8b05221
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
#include <zephyr/devicetree.h>
|
#include <zephyr/devicetree.h>
|
||||||
#include <zephyr/cache.h>
|
#include <zephyr/cache.h>
|
||||||
|
|
||||||
#ifdef SOC_FAMILY_INTEL_ADSP
|
#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP
|
||||||
#include <adsp_memory.h>
|
#include <adsp_memory.h>
|
||||||
#include <mem_window.h>
|
#include <mem_window.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -95,7 +95,7 @@ static int winstream_console_init(void)
|
||||||
void *buf = NULL;
|
void *buf = NULL;
|
||||||
size_t size = 0;
|
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
|
/* These have a SOC-specific "mem_window" device. FIXME: The
|
||||||
* type handling is backwards here. We shouldn't be grabbing
|
* type handling is backwards here. We shouldn't be grabbing
|
||||||
* an arbitrary DTS alias and assuming it's a mem_window at
|
* an arbitrary DTS alias and assuming it's a mem_window at
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue