Go to the source code of this file.
◆ EMUL_STUB_DEVICE
#define EMUL_STUB_DEVICE |
( |
|
n | ) |
|
Value: __maybe_unused
static int emul_init_stub_##n(
const struct device *dev) \
{ \
ARG_UNUSED(dev); \
return 0; \
} \
\
DEVICE_DT_INST_DEFINE(n, &emul_init_stub_##n, NULL, &stub_data_##n, &stub_config_##n, \
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &stub_api_##n);
Runtime device structure (in ROM) per driver instance.
Definition: device.h:399
Definition: emul_stub_device.h:23
Definition: emul_stub_device.h:20
Definition: emul_stub_device.h:17