Skip to content

Commit 2f2c017

Browse files
keith-zephyrnashif
authored andcommitted
include: fix includes for IT8xxx2 SoC
Fix missing includes for IT8xxx2 drivers. Signed-off-by: Keith Short <[email protected]>
1 parent fbdc34e commit 2f2c017

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

drivers/bbram/bbram_it8xxx2.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66

77
#define DT_DRV_COMPAT ite_it8xxx2_bbram
88

9-
#include <zephyr/drivers/bbram.h>
109
#include <errno.h>
11-
#include <zephyr/sys/util.h>
1210

11+
#include <zephyr/drivers/bbram.h>
1312
#include <zephyr/logging/log.h>
13+
#include <zephyr/sys/util.h>
14+
15+
#include <chip_chipregs.h>
16+
1417
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
1518

1619
#define BRAM_VALID_MAGIC 0x4252414D /* "BRAM" */

drivers/watchdog/wdt_ite_it8xxx2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define DT_DRV_COMPAT ite_it8xxx2_watchdog
77

88
#include <zephyr/drivers/watchdog.h>
9+
#include <zephyr/irq.h>
910
#include <errno.h>
1011
#include <soc.h>
1112

0 commit comments

Comments
 (0)