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 | |
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')
-rw-r--r-- | common/build.mk | 2 | ||||
-rw-r--r-- | common/thermal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/build.mk b/common/build.mk index 98ef604e27..540626e0d7 100644 --- a/common/build.mk +++ b/common/build.mk @@ -28,7 +28,7 @@ common-$(CONFIG_EXTPOWER_GPIO)+=extpower_gpio.o common-$(CONFIG_EXTPOWER_KIRBY)+=extpower_kirby.o common-$(CONFIG_EXTPOWER_SNOW)+=extpower_snow.o common-$(CONFIG_EXTPOWER_SPRING)+=extpower_spring.o -common-$(CONFIG_FAN)+=fan.o +common-$(CONFIG_FANS)+=fan.o common-$(CONFIG_FLASH)+=flash.o common-$(CONFIG_FMAP)+=fmap.o common-$(CONFIG_I2C)+=i2c.o 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 |