diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2025-01-08 10:25:35 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-13 17:16:04 +0100 |
| commit | bbaf7a0d4c9f653edd085c06bc2a343e356d9b6a (patch) | |
| tree | 13961e76d215e16db79317262b50d22007292fac /tests/qtest/libqos/i2c-imx.c | |
| parent | 2ee8c2ccb5a5bb2295b8a17e307efbe35539d289 (diff) | |
| download | focaccia-qemu-bbaf7a0d4c9f653edd085c06bc2a343e356d9b6a.tar.gz focaccia-qemu-bbaf7a0d4c9f653edd085c06bc2a343e356d9b6a.zip | |
tests/qtest/libqos: Reuse TYPE_IMX_I2C define
Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Fabiano Rosas <farosas@suse.de> Message-ID: <20250108092538.11474-12-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'tests/qtest/libqos/i2c-imx.c')
| -rw-r--r-- | tests/qtest/libqos/i2c-imx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qtest/libqos/i2c-imx.c b/tests/qtest/libqos/i2c-imx.c index 710cb926d6..6d868e4cc4 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); |