summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-09-24 16:51:31 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-25 17:50:07 +0000
commit20724deae60e461d439eaa69589ca2c9cd08b604 (patch)
treed894e694534593c40a3b944443cb285bfb0b1e28 /include
parenteb27bf14d403ef0009edb28f614962dd78fbc244 (diff)
downloadchrome-ec-20724deae60e461d439eaa69589ca2c9cd08b604.tar.gz
cleanup: Remove unused fan channels
With the PWM interface refactoring, only the CPU fan uses the fan.h interface. All other PWM channels (keyboard backlight, etc.) use the pwm.h interface. Remove the unused constants, and rename FAN_CH_CPU to CONFIG_FAN_CH_CPU so it fits with the other fan config options. No functional changes; just renaming things. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all targets; pass unit tests Change-Id: I391fbeaf54afcc29a11c2799a4520b7ad8784796 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/170534 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 5234a77e10..a3f67c06c7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -316,6 +316,9 @@
/* Compile support for PWM control of cooling fans */
#undef CONFIG_FAN
+/* Fan channel (not PWM channel) for the CPU fan */
+#undef CONFIG_FAN_CPU_CH
+
/* Name of active high GPIO to control power to the cooling fan */
#undef CONFIG_FAN_EN_GPIO