summaryrefslogtreecommitdiffstats
path: root/sensorhandler.h
diff options
context:
space:
mode:
authorEmily Shaffer <emilyshaffer@google.com>2017-04-05 15:09:41 -0700
committerEmily Shaffer <emilyshaffer@google.com>2017-06-06 10:55:40 -0700
commit2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27 (patch)
tree7579ba68b1f2b25c8e2725b57fee126c2d7cebe7 /sensorhandler.h
parentfca6a4fc4baddf4880fe4d54d77a424bced21c76 (diff)
downloadphosphor-host-ipmid-2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27.tar.gz
phosphor-host-ipmid-2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27.zip
sensorhandler: Refactor find_openbmc_path to check sensor map first
Change-Id: I846d538643af77705d5160bf4d9127f758b5c749 Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Diffstat (limited to 'sensorhandler.h')
-rw-r--r--sensorhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensorhandler.h b/sensorhandler.h
index e908973..d58f640 100644
--- a/sensorhandler.h
+++ b/sensorhandler.h
@@ -23,7 +23,7 @@ struct dbus_interface_t {
int set_sensor_dbus_state_s(uint8_t , const char *, const char *);
int set_sensor_dbus_state_y(uint8_t , const char *, const uint8_t);
-int find_openbmc_path(const char *, const uint8_t , dbus_interface_t *);
+int find_openbmc_path(uint8_t , dbus_interface_t *);
/**
* @struct SetSensorReadingReq
OpenPOWER on IntegriCloud