summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/fan.c2
-rw-r--r--common/thermal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/fan.c b/common/fan.c
index 874b73537b..b080253944 100644
--- a/common/fan.c
+++ b/common/fan.c
@@ -373,7 +373,7 @@ static void pwm_fan_init(void)
for (i = 0; i < EC_FAN_SPEED_ENTRIES; i++)
mapped[i] = EC_FAN_SPEED_NOT_PRESENT;
}
-DECLARE_HOOK(HOOK_INIT, pwm_fan_init, HOOK_PRIO_DEFAULT + 1);
+DECLARE_HOOK(HOOK_INIT, pwm_fan_init, HOOK_PRIO_DEFAULT);
static void pwm_fan_second(void)
{
diff --git a/common/thermal.c b/common/thermal.c
index c7840065de..97c12412e0 100644
--- a/common/thermal.c
+++ b/common/thermal.c
@@ -166,7 +166,7 @@ static void thermal_control(void)
}
/* Wait until after the sensors have been read */
-DECLARE_HOOK(HOOK_SECOND, thermal_control, HOOK_PRIO_TEMP_SENSOR + 1);
+DECLARE_HOOK(HOOK_SECOND, thermal_control, HOOK_PRIO_TEMP_SENSOR_DONE);
/*****************************************************************************/
/* Console commands */