diff options
Diffstat (limited to 'zephyr/emul/emul_flash.c')
-rw-r--r-- | zephyr/emul/emul_flash.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/zephyr/emul/emul_flash.c b/zephyr/emul/emul_flash.c index 936ee5470c..0efc690fd4 100644 --- a/zephyr/emul/emul_flash.c +++ b/zephyr/emul/emul_flash.c @@ -3,19 +3,19 @@ * found in the LICENSE file. */ -#include "drivers/cros_flash.h" -#include "ec_commands.h" -#include "flash.h" +#define DT_DRV_COMPAT cros_ec_flash_emul -#include <zephyr/device.h> -#include <zephyr/drivers/emul.h> #include <zephyr/drivers/flash.h> #include <zephyr/logging/log.h> -#include <zephyr/sys/__assert.h> +LOG_MODULE_REGISTER(emul_flash); -#define DT_DRV_COMPAT cros_ec_flash_emul +#include <zephyr/device.h> +#include <zephyr/drivers/emul.h> +#include <ec_commands.h> +#include <drivers/cros_flash.h> +#include <zephyr/sys/__assert.h> -LOG_MODULE_REGISTER(emul_flash); +#include "flash.h" struct flash_emul_data { const struct device *flash_dev; |