Fix devicetree tests

This commit is contained in:
Ken Van Hoeylandt 2026-07-25 15:01:03 +02:00
parent 971dc3dcbe
commit 553e51e9cf

View File

@ -13,6 +13,7 @@ static struct Device root = {
.address = 0, .address = 0,
.name = "/", .name = "/",
.config = &root_config, .config = &root_config,
.flags = DEVICE_FLAG_DTS,
.parent = NULL, .parent = NULL,
.internal = NULL .internal = NULL
}; };
@ -27,6 +28,7 @@ static struct Device test_device = {
.address = 0, .address = 0,
.name = "test-device", .name = "test-device",
.config = &test_device_config, .config = &test_device_config,
.flags = DEVICE_FLAG_DTS,
.parent = &root, .parent = &root,
.internal = NULL .internal = NULL
}; };
@ -43,6 +45,7 @@ static struct Device bool_test_device = {
.address = 0, .address = 0,
.name = "bool-test-device", .name = "bool-test-device",
.config = &bool_test_device_config, .config = &bool_test_device_config,
.flags = DEVICE_FLAG_DTS,
.parent = &root, .parent = &root,
.internal = NULL .internal = NULL
}; };