Skip to content

Commit db09dd4

Browse files
kv2019ilgirdwood
authored andcommitted
test: userspace: hda_dma: include sof/lib/cpu.h for PLATFORM_PRIMARY_CORE_ID
The test uses PLATFORM_PRIMARY_CORE_ID but relied on an indirect include for its definition, which breaks the standalone test build. Include <sof/lib/cpu.h> explicitly. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent d1e9aca commit db09dd4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎zephyr/test/userspace/test_intel_hda_dma.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <zephyr/logging/log.h>
2626
#include <zephyr/ipc/ipc_service.h>
2727
#include <zephyr/ipc/backends/intel_adsp_host_ipc.h>
28+
#include <sof/lib/cpu.h>
2829
#include <sof/lib/dma.h>
2930

3031
#include <cavstool.h>

0 commit comments

Comments
 (0)