diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-10-29 14:36:34 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-30 23:10:07 +0000 |
commit | 034e96c128d0e1ee7c100c47456c2159a133288c (patch) | |
tree | 3440ef921b08e7d759b8d6e3a60140cc11aef4f7 /common/thermal.c | |
parent | 9dff30d466c5dfa0e90990d3106ffefe23e8d979 (diff) | |
download | chrome-ec-034e96c128d0e1ee7c100c47456c2159a133288c.tar.gz |
Rename CONFIG_FAN to CONFIG_FANS
Instead of just configuring fan support as yes/no, we'll use it to specify
the number of fans on the board. Undefined (not zero!) means no fan support
at all.
Syntax change only. No new functionality.
BUG=chrome-os-partner:23530
BRANCH=none
TEST=manual
make runtests, build all platforms, build and test on Link.
Change-Id: Iff65efa69e05f3e1a54fdc2a8da9001b4e8487ca
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175150
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 2 |
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 |