summaryrefslogtreecommitdiffstats
path: root/include/ipmi.h
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 /include/ipmi.h
parentf845a648b8cb0435aa6323f58fac50792bbe1163 (diff)
downloadblackbird-skiboot-f1413ebbbac39b466e8b7b8de10ccebcb22d1819.tar.gz
blackbird-skiboot-f1413ebbbac39b466e8b7b8de10ccebcb22d1819.zip
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 'include/ipmi.h')
-rw-r--r--include/ipmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h
index 35dee90c..3389eaf5 100644
--- a/include/ipmi.h
+++ b/include/ipmi.h
@@ -21,6 +21,8 @@
#include <ccan/list/list.h>
#include <stdbool.h>
+#define MAX_IPMI_SENSORS 255
+
/*
* IPMI codes as defined by the standard.
*/
OpenPOWER on IntegriCloud