7#ifndef ZEPHYR_INCLUDE_EMUL_STUB_DEVICE_H_
8#define ZEPHYR_INCLUDE_EMUL_STUB_DEVICE_H_
28#define EMUL_STUB_DEVICE(n) \
29 __maybe_unused static int emul_init_stub_##n(const struct device *dev) \
35 static struct emul_stub_dev_data stub_data_##n; \
36 static struct emul_stub_dev_config stub_config_##n; \
37 static struct emul_stub_dev_api stub_api_##n; \
38 DEVICE_DT_INST_DEFINE(n, &emul_init_stub_##n, NULL, &stub_data_##n, &stub_config_##n, \
39 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &stub_api_##n);
Definition emul_stub_device.h:23
Definition emul_stub_device.h:20
Definition emul_stub_device.h:17