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 committed Oct 18, 2024
1 parent 36949c8 commit 1c043d8
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 1c043d8

Please sign in to comment.