t/legacy: Ensure all legacy drivers can be disabled [NFC]

This commit is contained in:
Christoph Haag 2023-05-16 08:53:55 +00:00 committed by Jakob Bornecrantz
parent 1ad168cfc5
commit 2f4a926184

View file

@ -83,6 +83,7 @@ static const char *driver_list[] = {
#if defined(XRT_BUILD_DRIVER_SIMULATED)
"simulated",
#endif
NULL,
};
@ -202,7 +203,7 @@ t_builder_legacy_create(void)
xb->identifier = "legacy";
xb->name = "Legacy probing system";
xb->driver_identifiers = driver_list;
xb->driver_identifier_count = ARRAY_SIZE(driver_list);
xb->driver_identifier_count = ARRAY_SIZE(driver_list) - 1;
return xb;
}