From 4d34c29b56325c742e00c8f2d5a3064ca77ff8a8 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 9 Oct 2024 15:49:44 +0300 Subject: [PATCH] ipc: ipc3: conditionally include dma-trace.h 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 --- src/ipc/ipc3/handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ipc/ipc3/handler.c b/src/ipc/ipc3/handler.c index 4349c9606253..1a4ca43d70fe 100644 --- a/src/ipc/ipc3/handler.c +++ b/src/ipc/ipc3/handler.c @@ -34,7 +34,9 @@ #include #include #include +#if CONFIG_TRACE #include +#endif #include #include #include