move entity_map_json to libipmid
entity_map_json is used by dbus-sdr sensor handling so it needs to be in
a common location or loading order matters. This change moves the file
from the ipmi20 provider library to libipmi, a common library.
Tested: Found that even though the dbus-sdr provider loads before
ipmi20, it loads properly without missing symbols.
Change-Id: I9ab6833c78e6f3c89c02cf998ce0a36353059c3d
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index 84b6e9d..a819100 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -2,13 +2,13 @@
#include "sensorhandler.hpp"
-#include "entity_map_json.hpp"
#include "fruread.hpp"
#include <mapper.h>
#include <systemd/sd-bus.h>
#include <ipmid/api.hpp>
+#include <ipmid/entity_map_json.hpp>
#include <ipmid/types.hpp>
#include <ipmid/utils.hpp>
#include <phosphor-logging/elog-errors.hpp>