Skip to content

Commit

Permalink
ipc: ipc3: conditionally include dma-trace.h
Browse files Browse the repository at this point in the history
If the SOF is built with native Zephyr drivers, dma-trace.h cannot be
used as it relies on legacy XTOS DMA driver interface. Make include of
dma-trace.h conditional.

Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i authored and lgirdwood committed Oct 22, 2024
1 parent 2c958b4 commit 4d34c29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ipc/ipc3/handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
#include <sof/platform.h>
#include <rtos/string.h>
#include <rtos/string_macro.h>
#if CONFIG_TRACE
#include <sof/trace/dma-trace.h>
#endif
#include <sof/trace/trace.h>
#include <ipc/control.h>
#include <ipc/dai.h>
Expand Down

0 comments on commit 4d34c29

Please sign in to comment.