subsys/storage/flash_map: remove unnecessary includes
Those files includes soc.h header which exists not for all boards. soc.h consists soc-depended defenitions and need to be included by soc-depended sources Signed-off-by: Dmytro Semenets <dmytro_semenets@epam.com>
This commit is contained in:
parent
0eeb5c7c50
commit
e169f7cc12
|
@ -16,7 +16,6 @@
|
|||
#include <zephyr/storage/flash_map.h>
|
||||
#include "flash_map_priv.h"
|
||||
#include <zephyr/drivers/flash.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/init.h>
|
||||
|
||||
void flash_area_foreach(flash_area_cb_t user_cb, void *user_data)
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <zephyr/storage/flash_map.h>
|
||||
#include "flash_map_priv.h"
|
||||
#include <zephyr/drivers/flash.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/init.h>
|
||||
|
||||
#if defined(CONFIG_FLASH_AREA_CHECK_INTEGRITY)
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <zephyr/device.h>
|
||||
#include <zephyr/storage/flash_map.h>
|
||||
#include <zephyr/drivers/flash.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/init.h>
|
||||
|
||||
struct layout_data {
|
||||
|
|
Loading…
Reference in New Issue