Skip to content

Commit e169f7c

Browse files
dsemenetscarlescufi
authored andcommitted
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 <[email protected]>
1 parent 0eeb5c7 commit e169f7c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

subsys/storage/flash_map/flash_map.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <zephyr/storage/flash_map.h>
1717
#include "flash_map_priv.h"
1818
#include <zephyr/drivers/flash.h>
19-
#include <soc.h>
2019
#include <zephyr/init.h>
2120

2221
void flash_area_foreach(flash_area_cb_t user_cb, void *user_data)

subsys/storage/flash_map/flash_map_integrity.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <zephyr/storage/flash_map.h>
1717
#include "flash_map_priv.h"
1818
#include <zephyr/drivers/flash.h>
19-
#include <soc.h>
2019
#include <zephyr/init.h>
2120

2221
#if defined(CONFIG_FLASH_AREA_CHECK_INTEGRITY)

subsys/storage/flash_map/flash_map_layout.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <zephyr/device.h>
1616
#include <zephyr/storage/flash_map.h>
1717
#include <zephyr/drivers/flash.h>
18-
#include <soc.h>
1918
#include <zephyr/init.h>
2019

2120
struct layout_data {

0 commit comments

Comments
 (0)