zephyr: use zephyr prefix for includes

Zephyr includes are now under a zephyr namespace, so use this.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-07-12 22:19:27 -04:00 committed by Liam Girdwood
parent 41e56b336d
commit 33112b74e8
8 changed files with 16 additions and 16 deletions

View File

@ -19,9 +19,9 @@
* send tasks to other CPUs.
*/
#include <kernel.h>
#include <zephyr/kernel.h>
#include <sys/p4wq.h>
#include <zephyr/sys/p4wq.h>
#include <sof/drivers/idc.h>
#include <sof/init.h>
#include <sof/ipc/common.h>

View File

@ -31,7 +31,7 @@
#endif
#ifdef __ZEPHYR__
#include <logging/log.h>
#include <zephyr/logging/log.h>
#endif
struct sof;

View File

@ -35,7 +35,7 @@
#include <stdint.h>
#ifdef __ZEPHYR__
#include <kernel.h>
#include <zephyr/kernel.h>
#endif
LOG_MODULE_REGISTER(sa, CONFIG_SOF_LOG_LEVEL);

View File

@ -20,8 +20,8 @@
#include <stddef.h>
#include <stdint.h>
#include <kernel.h>
#include <sys_clock.h>
#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
LOG_MODULE_DECLARE(ll_schedule, CONFIG_SOF_LOG_LEVEL);

View File

@ -13,7 +13,7 @@
#include <sof/schedule/schedule.h>
#include <sof/schedule/task.h>
#include <kernel.h>
#include <zephyr/kernel.h>
LOG_MODULE_REGISTER(ll_schedule, CONFIG_SOF_LOG_LEVEL);

View File

@ -10,8 +10,8 @@
#include <sof/schedule/edf_schedule.h>
#include <sof/lib/wait.h>
#include <kernel.h>
#include <sys_clock.h>
#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
struct k_work_q edf_workq;
K_THREAD_STACK_DEFINE(edf_workq_stack, 8192);

View File

@ -7,8 +7,8 @@
#define __SOF_TRACE_TRACE1_H__
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_H_
#include <logging/log.h>
#include <sys/printk.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/printk.h>
/* Level of SOF trace on Zephyr */
#define SOF_ZEPHYR_TRACE_LEVEL LOG_LEVEL_INF

View File

@ -22,14 +22,14 @@
#include <sof/trace/trace.h>
/* Zephyr includes */
#include <device.h>
#include <soc.h>
#include <kernel.h>
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#include <version.h>
#include <sys/__assert.h>
#include <zephyr/sys/__assert.h>
#include <soc.h>
#if !CONFIG_KERNEL_COHERENCE
#include <arch/xtensa/cache.h>
#include <zephyr/arch/xtensa/cache.h>
#endif
LOG_MODULE_REGISTER(zephyr, CONFIG_SOF_LOG_LEVEL);