include: fix includes for NPCX drivers
Add include of kernel.h for drivers using Kernel APIs. Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
parent
a328bc0183
commit
fbdc34e0b1
1 changed files with 9 additions and 6 deletions
|
@ -28,14 +28,17 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/watchdog.h>
|
||||
#include <soc.h>
|
||||
|
||||
#include "soc_miwu.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/watchdog.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include <soc.h>
|
||||
LOG_MODULE_REGISTER(wdt_npcx, CONFIG_WDT_LOG_LEVEL);
|
||||
|
||||
/* Watchdog operating frequency is fixed to LFCLK (32.768) kHz */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue