diff options
-rw-r--r-- | hw/ipmi/ipmi-sensor.c | 1 | ||||
-rw-r--r-- | include/ipmi.h | 2 |
2 files changed, 2 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; diff --git a/include/ipmi.h b/include/ipmi.h index 35dee90..3389eaf 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. */ |