include: fix the remaining legacy #include paths

Add the "zephyr/" prefix to various #include statements that are
preventing the CI form running with LEGACY_INCLUDE_PATH=n.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2022-07-19 14:16:24 +00:00 committed by Fabio Baltieri
commit 24d09d363c
8 changed files with 12 additions and 12 deletions

View file

@ -12,7 +12,7 @@
#include <zephyr/sys/util.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_ast10x0);
#define HPLL_FREQ MHZ(1000)

View file

@ -7,11 +7,11 @@
#define DT_DRV_COMPAT microchip_mpfs_gpio
#include <errno.h>
#include <kernel.h>
#include <device.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <soc.h>
#include <drivers/gpio.h>
#include <sys/util.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/util.h>
#include "gpio_utils.h"

View file

@ -322,7 +322,7 @@ void z_log_vprintk(const char *fmt, va_list ap);
/**
* @brief Create module-specific state and register the module with Logger.
*
* This macro normally must be used after including <logging/log.h> to
* This macro normally must be used after including <zephyr/logging/log.h> to
* complete the initialization of the module.
*
* Module registration can be skipped in two cases:

View file

@ -33,10 +33,10 @@ typedef atomic_ptr_t atomic_ptr_val_t;
/* Some architectures need their own implementation */
# ifdef CONFIG_XTENSA
/* Not all Xtensa toolchains support GCC-style atomic intrinsics */
# include <arch/xtensa/atomic_xtensa.h>
# include <zephyr/arch/xtensa/atomic_xtensa.h>
# else
/* Other arch specific implementation */
# include <sys/atomic_arch.h>
# include <zephyr/sys/atomic_arch.h>
# endif /* CONFIG_XTENSA */
#else
/* Default. See this file for the Doxygen reference: */

View file

@ -5,4 +5,4 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <arch/arm/aarch32/cortex_m/scripts/linker.ld>
#include <zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld>

View file

@ -5,4 +5,4 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <arch/arm/aarch32/cortex_m/scripts/linker.ld>
#include <zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld>

View file

@ -5,4 +5,4 @@
* Adding support for Cyclone V SoC FPGA, using arm32 linker
*/
#include <arch/arm/aarch32/cortex_a_r/scripts/linker.ld>
#include <zephyr/arch/arm/aarch32/cortex_a_r/scripts/linker.ld>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "spinlock.h"
#include <zephyr/spinlock.h>
#include <zephyr/rtio/rtio_executor_concurrent.h>
#include <zephyr/rtio/rtio.h>
#include <zephyr/kernel.h>