summaryrefslogtreecommitdiff
path: root/zephyr/emul/i2c_mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/emul/i2c_mock.c')
-rw-r--r--zephyr/emul/i2c_mock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/emul/i2c_mock.c b/zephyr/emul/i2c_mock.c
index 8601c87ee7..c906e76c13 100644
--- a/zephyr/emul/i2c_mock.c
+++ b/zephyr/emul/i2c_mock.c
@@ -3,13 +3,13 @@
* found in the LICENSE file.
*/
-#define DT_DRV_COMPAT cros_i2c_mock
+#include "emul/emul_common_i2c.h"
+#include "emul/emul_stub_device.h"
#include <zephyr/device.h>
#include <zephyr/logging/log.h>
-#include "emul/emul_common_i2c.h"
-#include "emul/emul_stub_device.h"
+#define DT_DRV_COMPAT cros_i2c_mock
LOG_MODULE_REGISTER(i2c_mock, CONFIG_I2C_MOCK_LOG_LEVEL);