Skip to content

Commit fbdc34e

Browse files
keith-zephyrnashif
authored andcommitted
include: fix includes for NPCX drivers
Add include of kernel.h for drivers using Kernel APIs. Signed-off-by: Keith Short <[email protected]>
1 parent a328bc0 commit fbdc34e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

drivers/watchdog/wdt_npcx.c

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@
2828
*
2929
*/
3030

31+
#include "soc_miwu.h"
32+
3133
#include <assert.h>
32-
#include <zephyr/drivers/gpio.h>
34+
3335
#include <zephyr/drivers/clock_control.h>
36+
#include <zephyr/drivers/gpio.h>
3437
#include <zephyr/drivers/watchdog.h>
35-
#include <soc.h>
36-
37-
#include "soc_miwu.h"
38+
#include <zephyr/kernel.h>
3839
#include <zephyr/logging/log.h>
40+
41+
#include <soc.h>
3942
LOG_MODULE_REGISTER(wdt_npcx, CONFIG_WDT_LOG_LEVEL);
4043

4144
/* Watchdog operating frequency is fixed to LFCLK (32.768) kHz */

0 commit comments

Comments
 (0)