summaryrefslogtreecommitdiff
path: root/common/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/thermal.c')
-rw-r--r--common/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c
index 6d4708c0ef..92b6e170ab 100644
--- a/common/thermal.c
+++ b/common/thermal.c
@@ -154,7 +154,7 @@ static void thermal_control(void)
throttle_ap(THROTTLE_OFF, THROTTLE_SOFT, THROTTLE_SRC_THERMAL);
}
-#ifdef CONFIG_FAN
+#ifdef CONFIG_FANS
/* Max fan needed is what's needed. */
fan_set_percent_needed(fmax);
#endif