include: fix includes for IT8xxx2 SoC

Fix missing includes for IT8xxx2 drivers.

Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
Keith Short 2022-10-12 10:56:59 -06:00 committed by Anas Nashif
parent fbdc34e0b1
commit 2f2c0176e5
2 changed files with 6 additions and 2 deletions

View file

@ -6,11 +6,14 @@
#define DT_DRV_COMPAT ite_it8xxx2_bbram
#include <zephyr/drivers/bbram.h>
#include <errno.h>
#include <zephyr/drivers/bbram.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/util.h>
#include <zephyr/logging/log.h>
#include <chip_chipregs.h>
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
#define BRAM_VALID_MAGIC 0x4252414D /* "BRAM" */

View file

@ -6,6 +6,7 @@
#define DT_DRV_COMPAT ite_it8xxx2_watchdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <errno.h>
#include <soc.h>