1 /*
2 * Copyright 2023 Google LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 #include <zephyr/device.h>
8
init_fn_0(const struct device * dev)9 static int init_fn_0(const struct device *dev)
10 {
11 return 0;
12 }
13
init_fn_1(const struct device * dev)14 static int init_fn_1(const struct device *dev)
15 {
16 return 0;
17 }
18
19 DEVICE_DT_DEFINE(DT_INST(0, vnd_gpio_device), init_fn_0, NULL, NULL, NULL,
20 PRE_KERNEL_1, 50, NULL);
21 DEVICE_DT_DEFINE(DT_INST(0, vnd_i2c), init_fn_1, NULL, NULL, NULL,
22 PRE_KERNEL_1, 50, NULL);
23
24 DEVICE_DT_DEFINE(DT_INST(0, vnd_i2c_device), NULL, NULL, NULL, NULL,
25 PRE_KERNEL_1, 49, NULL);
26 DEVICE_DT_DEFINE(DT_INST(1, vnd_i2c_device), NULL, NULL, NULL, NULL,
27 PRE_KERNEL_1, 50, NULL);
28