summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_flash/cros_flash_npcx.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/drivers/cros_flash/cros_flash_npcx.c')
-rw-r--r--zephyr/drivers/cros_flash/cros_flash_npcx.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/zephyr/drivers/cros_flash/cros_flash_npcx.c b/zephyr/drivers/cros_flash/cros_flash_npcx.c
index 032bb5906c..e49067ad1a 100644
--- a/zephyr/drivers/cros_flash/cros_flash_npcx.c
+++ b/zephyr/drivers/cros_flash/cros_flash_npcx.c
@@ -5,18 +5,19 @@
#define DT_DRV_COMPAT nuvoton_npcx_cros_flash
-#include <drivers/cros_flash.h>
+#include "../drivers/flash/spi_nor.h"
+#include "flash.h"
+#include "spi_flash_reg.h"
+#include "write_protect.h"
+
#include <zephyr/drivers/flash.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
-#include <soc.h>
-#include "flash.h"
-#include "spi_flash_reg.h"
-#include "write_protect.h"
-#include "../drivers/flash/spi_nor.h"
+#include <drivers/cros_flash.h>
+#include <soc.h>
LOG_MODULE_REGISTER(cros_flash, LOG_LEVEL_ERR);