diff options
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/thermal.c b/common/thermal.c index e9296b6433..9aa3e5d066 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -10,7 +10,7 @@ #include "console.h" #include "gpio.h" #include "lpc.h" -#include "lpc_commands.h" +#include "ec_commands.h" #include "pwm.h" #include "task.h" #include "temp_sensor.h" @@ -89,14 +89,14 @@ int thermal_toggle_auto_fan_ctrl(int auto_fan_on) static void smi_overheated_warning(void) { lpc_set_host_events( - EC_LPC_HOST_EVENT_MASK(EC_LPC_HOST_EVENT_THERMAL_OVERLOAD)); + EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_OVERLOAD)); } static void smi_sensor_failure_warning(void) { lpc_set_host_events( - EC_LPC_HOST_EVENT_MASK(EC_LPC_HOST_EVENT_THERMAL)); + EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL)); } |