aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-07-04 10:41:01 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-13 10:19:45 +1000
commitf1413ebbbac39b466e8b7b8de10ccebcb22d1819 (patch)
treea074a7ad8ba80f8bad413fd8fdba89c3d72d1cc9 /hw
parentf845a648b8cb0435aa6323f58fac50792bbe1163 (diff)
downloadskiboot-f1413ebbbac39b466e8b7b8de10ccebcb22d1819.zip
skiboot-f1413ebbbac39b466e8b7b8de10ccebcb22d1819.tar.gz
skiboot-f1413ebbbac39b466e8b7b8de10ccebcb22d1819.tar.bz2
IPMI: Move MAX_IPMI_SENSORS macro to ipmi.h
..so that it can be used in other places as well. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/ipmi/ipmi-sensor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ipmi/ipmi-sensor.c b/hw/ipmi/ipmi-sensor.c
index 9e6d5b9..9c4eb6b 100644
--- a/hw/ipmi/ipmi-sensor.c
+++ b/hw/ipmi/ipmi-sensor.c
@@ -26,7 +26,6 @@
#define FW_PROGRESS_SENSOR_TYPE 0x0F
#define BOOT_COUNT_SENSOR_TYPE 0xC3
-#define MAX_IPMI_SENSORS 255
static int16_t sensors[MAX_IPMI_SENSORS];
static bool sensors_present = false;