Skip to content

Commit

Permalink
include: sof: common.h Fix compilation error
Browse files Browse the repository at this point in the history
Commit 16d126a ("audio: Header files cleanup") removed
rtos/panic.h include but this is still needed.

Otherwise, we get the following compilation error:

/work/repos/sof/src/lib/lib.c: In function ‘memset’:
/work/repos/sof/src/lib/lib.c:31: warning: implicit declaration of function ‘sof_panic’

Fixes: 16d126a ("audio: Header files cleanup")
Signed-off-by: Daniel Baluta <[email protected]>
  • Loading branch information
dbaluta committed Nov 28, 2023
1 parent 2b4e484 commit f2b2f80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/sof/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#if !defined(__ASSEMBLER__) && defined(__XTENSA__)

#include <ipc/trace.h>
#include <rtos/panic.h>
#define VERIFY_ALIGN

#endif
Expand Down

0 comments on commit f2b2f80

Please sign in to comment.