From 5090a4bf4a749b85acc33b9f7c48d322a5e3b662 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Sun, 21 Jun 2026 22:26:11 +0200 Subject: [PATCH] Fix test --- .../DevicetreeCompiler/tests/data/expected_devicetree.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Buildscripts/DevicetreeCompiler/tests/data/expected_devicetree.c b/Buildscripts/DevicetreeCompiler/tests/data/expected_devicetree.c index 3a3202f83..9ec715e4d 100644 --- a/Buildscripts/DevicetreeCompiler/tests/data/expected_devicetree.c +++ b/Buildscripts/DevicetreeCompiler/tests/data/expected_devicetree.c @@ -17,16 +17,16 @@ static struct Device root = { .internal = NULL }; -static const generic_device_config_dt test_device_0_config = { +static const generic_device_config_dt test_device_config = { 0, 42, "hello" }; -static struct Device test_device_0 = { +static struct Device test_device = { .address = 0, .name = "test-device", - .config = &test_device_0_config, + .config = &test_device_config, .parent = &root, .internal = NULL }; @@ -49,7 +49,7 @@ static struct Device bool_test_device = { struct DtsDevice dts_devices[] = { { &root, "test,root", DTS_DEVICE_STATUS_OKAY }, - { &test_device_0, "test,generic-device", DTS_DEVICE_STATUS_OKAY }, + { &test_device, "test,generic-device", DTS_DEVICE_STATUS_OKAY }, { &bool_test_device, "test,bool-device", DTS_DEVICE_STATUS_OKAY }, DTS_DEVICE_TERMINATOR };