File tree Expand file tree Collapse file tree 6 files changed +12
-5
lines changed
Expand file tree Collapse file tree 6 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -56,3 +56,6 @@ CONFIG_SCHED_CPU_MASK_PIN_ONLY=y
5656CONFIG_SYS_CLOCK_TICKS_PER_SEC=15000
5757CONFIG_DAI=y
5858CONFIG_HEAP_MEM_POOL_SIZE=2048
59+
60+ # To be able to use Zephyr legacy include paths
61+ CONFIG_COMPAT_INCLUDES=y
Original file line number Diff line number Diff line change 3838#include <zephyr/logging/log_ctrl.h>
3939#include <user/abi_dbg.h>
4040#include <sof_versions.h>
41- #include <version.h>
41+ #include <zephyr/ version.h>
4242#endif
4343#include <sof/lib/ams.h>
4444
Original file line number Diff line number Diff line change 2929#include <sof_versions.h>
3030
3131#ifdef __ZEPHYR__
32- #include <version.h>
32+ #include <zephyr/ version.h>
3333#endif
3434
3535#include <errno.h>
Original file line number Diff line number Diff line change 2323#include <zephyr/init.h>
2424#include <zephyr/kernel.h>
2525#include <zephyr/pm/policy.h>
26- #include <version.h>
26+ #include <zephyr/ version.h>
2727#include <zephyr/sys/__assert.h>
2828#include <zephyr/cache.h>
2929
Original file line number Diff line number Diff line change 1717#include <rtos/alloc.h>
1818
1919/* Zephyr includes */
20- #include <version.h>
20+ #include <zephyr/version.h>
21+ #ifdef CONFIG_COMPAT_INCLUDES
22+ #include <kernel.h>
23+ #else
2124#include <zephyr/kernel.h>
25+ #endif
2226#include <zephyr/device.h>
2327#include <zephyr/drivers/mm/mm_drv_intel_adsp_mtl_tlb.h>
2428
Original file line number Diff line number Diff line change 2929#include <zephyr/kernel_structs.h>
3030#include <zephyr/kernel.h>
3131#include <zephyr/pm/policy.h>
32- #include <version.h>
32+ #include <zephyr/ version.h>
3333#include <zephyr/sys/__assert.h>
3434#include <zephyr/logging/log_ctrl.h>
3535#include <zephyr/logging/log.h>
You can’t perform that action at this time.
0 commit comments