hwmontemp: Add SBTSI device to whitelist
Adding the SBTSI device to the whitelist,
similar to the others. This is the AMD SB-TSI interface,
for reading CPU temperature from AMD processors.
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I9dd40f2864dc1884bede2cffdf19944ce489611b
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index e478bcc..e84bf0e 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -40,12 +40,13 @@
static constexpr bool DEBUG = false;
namespace fs = std::filesystem;
-static constexpr std::array<const char*, 10> sensorTypes = {
+static constexpr std::array<const char*, 11> sensorTypes = {
"xyz.openbmc_project.Configuration.EMC1413",
"xyz.openbmc_project.Configuration.MAX31725",
"xyz.openbmc_project.Configuration.MAX31730",
"xyz.openbmc_project.Configuration.MAX6581",
"xyz.openbmc_project.Configuration.MAX6654",
+ "xyz.openbmc_project.Configuration.SBTSI",
"xyz.openbmc_project.Configuration.TMP112",
"xyz.openbmc_project.Configuration.TMP175",
"xyz.openbmc_project.Configuration.TMP421",