platFormEvent: Use registerHandler instead of ipmi_register_callback
Since ipmi_register_callback declared in api.h has been gradually
deprecated, this submission is to use registerHandler instead of
ipmi_register_callback.
Change-Id: Ibffeae6bbcdfb59b35d5e47d0acf57cf698a455e
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/sensorhandler.hpp b/sensorhandler.hpp
index 79ad489..c8bab23 100644
--- a/sensorhandler.hpp
+++ b/sensorhandler.hpp
@@ -57,6 +57,7 @@
uint8_t data[3];
};
+static constexpr const char* ipmiSELObject = "xyz.openbmc_project.Logging.IPMI";
static constexpr const char* ipmiSELPath = "/xyz/openbmc_project/Logging/IPMI";
static constexpr const char* ipmiSELAddInterface =
"xyz.openbmc_project.Logging.IPMI";