Skip to content

Commit

Permalink
init: fix header path for sof/lib/mailbox.h
Browse files Browse the repository at this point in the history
It's not legal to include platform/lib/mailbox.h directly.
Fix the code to include sof/lib/mailbox.h. This has worked only
because the mailbox header is included indirectly by other
headers.

Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i authored and lgirdwood committed Oct 21, 2024
1 parent 5d913fe commit 1423118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <ipc/trace.h>
#if CONFIG_IPC_MAJOR_4
#include <ipc4/fw_reg.h>
#include <platform/lib/mailbox.h>
#include <sof/lib/mailbox.h>
#endif
#ifdef CONFIG_ZEPHYR_LOG
#include <zephyr/logging/log_ctrl.h>
Expand Down

0 comments on commit 1423118

Please sign in to comment.