summaryrefslogtreecommitdiff
path: root/zephyr/test
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2023-01-27 15:03:36 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-27 17:03:59 +0000
commit196d7f79f877220cde5874373d297fa0db1d3a1c (patch)
tree64d6569bd94c6608827680dc925cb7f8bccb371e /zephyr/test
parent240e06c0960383cf3bab83bac31ebc68468437d6 (diff)
downloadchrome-ec-196d7f79f877220cde5874373d297fa0db1d3a1c.tar.gz
zephyr: emul: update EMUL_DT_INST_DEFINE API usage
Update various instances of the EMUL_DT_INST_DEFINE to set the extra argument introduced in: 6062914cf2 emul: Add support for backend APIs BRANCH=none BUG=none TEST=./twister Cq-Depend: chromium:4200298 Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I2bcec5786e78840fd552dcbde1b50f6941a23f05 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4188744 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/test')
-rw-r--r--zephyr/test/drivers/i2c_controller/src/basic_i2c_device_emul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/test/drivers/i2c_controller/src/basic_i2c_device_emul.c b/zephyr/test/drivers/i2c_controller/src/basic_i2c_device_emul.c
index 8d00d5d3ba..926fa6152f 100644
--- a/zephyr/test/drivers/i2c_controller/src/basic_i2c_device_emul.c
+++ b/zephyr/test/drivers/i2c_controller/src/basic_i2c_device_emul.c
@@ -105,7 +105,7 @@ static int basic_i2c_device_init(const struct emul *emul,
}; \
EMUL_DT_INST_DEFINE(n, basic_i2c_device_init, \
&basic_i2c_device_data_##n, &common_cfg_##n, \
- &i2c_common_emul_api)
+ &i2c_common_emul_api, NULL)
DT_INST_FOREACH_STATUS_OKAY(INIT_BASIC_I2C_DEVICE_EMUL);