summaryrefslogtreecommitdiff
path: root/zephyr/include/emul/tcpc/emul_tcpci.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/include/emul/tcpc/emul_tcpci.h')
-rw-r--r--zephyr/include/emul/tcpc/emul_tcpci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/include/emul/tcpc/emul_tcpci.h b/zephyr/include/emul/tcpc/emul_tcpci.h
index 9d1fa0dabc..6964fa84d7 100644
--- a/zephyr/include/emul/tcpc/emul_tcpci.h
+++ b/zephyr/include/emul/tcpc/emul_tcpci.h
@@ -124,7 +124,7 @@ struct tcpc_emul_data {
.addr = DT_INST_REG_ADDR(n), \
}, \
}; \
- EMUL_DEFINE(init, DT_DRV_INST(n), cfg_ptr, &tcpc_emul_data_##n, bus_api)
+ EMUL_DT_INST_DEFINE(n, init, &tcpc_emul_data_##n, cfg_ptr, bus_api)
/** Response from TCPCI specific device operations */
enum tcpci_emul_ops_resp {