aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/libqos/i2c-imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/libqos/i2c-imx.c')
-rw-r--r--tests/qtest/libqos/i2c-imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qtest/libqos/i2c-imx.c b/tests/qtest/libqos/i2c-imx.c
index 710cb92..6d868e4 100644
--- a/tests/qtest/libqos/i2c-imx.c
+++ b/tests/qtest/libqos/i2c-imx.c
@@ -209,8 +209,8 @@ void imx_i2c_init(IMXI2C *s, QTestState *qts, uint64_t addr)
static void imx_i2c_register_nodes(void)
{
- qos_node_create_driver("imx.i2c", NULL);
- qos_node_produces("imx.i2c", "i2c-bus");
+ qos_node_create_driver(TYPE_IMX_I2C, NULL);
+ qos_node_produces(TYPE_IMX_I2C, "i2c-bus");
}
libqos_init(imx_i2c_register_nodes);