diff options
Diffstat (limited to 'zephyr/emul/emul_rtc.c')
-rw-r--r-- | zephyr/emul/emul_rtc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zephyr/emul/emul_rtc.c b/zephyr/emul/emul_rtc.c index 845f0e8d78..0bd2ef0828 100644 --- a/zephyr/emul/emul_rtc.c +++ b/zephyr/emul/emul_rtc.c @@ -5,18 +5,18 @@ /* This is not a chip emulator, it's a fake driver. */ -#include "drivers/cros_rtc.h" -#include "ec_commands.h" -#include "flash.h" +#define DT_DRV_COMPAT cros_ec_rtc_emul + +#include <zephyr/logging/log.h> +LOG_MODULE_REGISTER(emul_rtc); #include <zephyr/device.h> #include <zephyr/drivers/emul.h> -#include <zephyr/logging/log.h> +#include <ec_commands.h> +#include <drivers/cros_rtc.h> #include <zephyr/sys/__assert.h> -#define DT_DRV_COMPAT cros_ec_rtc_emul - -LOG_MODULE_REGISTER(emul_rtc); +#include "flash.h" struct cros_rtc_emul_data { const struct device *rtc_dev; |