subsystems: migrate includes to <zephyr/...>

In order to bring consistency in-tree, migrate all subsystems code to
the new prefix <zephyr/...>. Note that the conversion has been scripted,
refer to zephyrproject-rtos#45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-05-06 11:12:04 +02:00 committed by Carles Cufí
commit 5113c1418d
726 changed files with 2931 additions and 2931 deletions

View file

@ -10,12 +10,12 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <sys/types.h>
#include <device.h>
#include <storage/flash_map.h>
#include <zephyr/device.h>
#include <zephyr/storage/flash_map.h>
#include "flash_map_priv.h"
#include <drivers/flash.h>
#include <zephyr/drivers/flash.h>
#include <soc.h>
#include <init.h>
#include <zephyr/init.h>
void flash_area_foreach(flash_area_cb_t user_cb, void *user_data)
{

View file

@ -7,8 +7,8 @@
#define DT_DRV_COMPAT fixed_partitions
#include <zephyr.h>
#include <storage/flash_map.h>
#include <zephyr/zephyr.h>
#include <zephyr/storage/flash_map.h>
#define FLASH_AREA_FOO(part) \
{.fa_id = DT_FIXED_PARTITION_ID(part), \

View file

@ -10,12 +10,12 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <sys/types.h>
#include <device.h>
#include <storage/flash_map.h>
#include <zephyr/device.h>
#include <zephyr/storage/flash_map.h>
#include "flash_map_priv.h"
#include <drivers/flash.h>
#include <zephyr/drivers/flash.h>
#include <soc.h>
#include <init.h>
#include <zephyr/init.h>
#if defined(CONFIG_FLASH_AREA_CHECK_INTEGRITY)
#define SHA256_DIGEST_SIZE 32

View file

@ -10,11 +10,11 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <sys/types.h>
#include <device.h>
#include <storage/flash_map.h>
#include <drivers/flash.h>
#include <zephyr/device.h>
#include <zephyr/storage/flash_map.h>
#include <zephyr/drivers/flash.h>
#include <soc.h>
#include <init.h>
#include <zephyr/init.h>
struct layout_data {
uint32_t area_idx;

View file

@ -13,7 +13,7 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <sys/types.h>
#include <device.h>
#include <zephyr/device.h>
extern const struct flash_area *flash_map;
extern const int flash_map_entries;

View file

@ -4,14 +4,14 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <shell/shell.h>
#include <init.h>
#include <zephyr/shell/shell.h>
#include <zephyr/init.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <storage/flash_map.h>
#include <logging/log.h>
#include <zephyr/storage/flash_map.h>
#include <zephyr/logging/log.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL

View file

@ -7,17 +7,17 @@
#define LOG_MODULE_NAME STREAM_FLASH
#define LOG_LEVEL CONFIG_STREAM_FLASH_LOG_LEVEL
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(LOG_MODULE_NAME, CONFIG_STREAM_FLASH_LOG_LEVEL);
#include <zephyr/types.h>
#include <string.h>
#include <drivers/flash.h>
#include <zephyr/drivers/flash.h>
#include <storage/stream_flash.h>
#include <zephyr/storage/stream_flash.h>
#ifdef CONFIG_STREAM_FLASH_PROGRESS
#include <settings/settings.h>
#include <zephyr/settings/settings.h>
static int settings_direct_loader(const char *key, size_t len,
settings_read_cb read_cb, void *cb_arg,