From d0c8a2c5f95d265b511d789a8c9b3a538b8b0e92 Mon Sep 17 00:00:00 2001 From: Akshay Tondak Date: Mon, 13 Jan 2025 14:49:32 -0800 Subject: [PATCH] Build fix try 2 Signed-off-by: Akshay Tondak --- src/runtime_src/core/pcie/linux/device_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime_src/core/pcie/linux/device_linux.cpp b/src/runtime_src/core/pcie/linux/device_linux.cpp index 2f56f9d790..d6da96ff86 100644 --- a/src/runtime_src/core/pcie/linux/device_linux.cpp +++ b/src/runtime_src/core/pcie/linux/device_linux.cpp @@ -914,7 +914,7 @@ struct xrt_smi_config static result_type get(const xrt_core::device* device, key_type key, const std::any& reqType) { - if (key != xrt_key_type::xrt_smi_config) + if (key != key_type::xrt_smi_config) throw xrt_core::query::no_such_key(key, "Not implemented"); std::string xrt_smi_config; const auto xrt_smi_config_type = std::any_cast(reqType);