diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-10-30 10:38:31 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-30 23:10:10 +0000 |
commit | e48a9d9c2143695cdd7a35ab06d6a6d5820efd9b (patch) | |
tree | e7a3a92ac80fadf61dd1b7df16e62c9f48fcd9c0 /include/pwm.h | |
parent | 034e96c128d0e1ee7c100c47456c2159a133288c (diff) | |
download | chrome-ec-e48a9d9c2143695cdd7a35ab06d6a6d5820efd9b.tar.gz |
Separate fan_t from pwm_t
There is a logical difference between PWM controls for things like
backlights and fan controls for actual fans. This change separates them into
two different data structures, for better abstraction.
BUG=chrome-os-partner:23530
BRANCH=none
TEST=manual
make runtests, make all boards, test on Link and Falco.
Change-Id: Ib63f2d1518fcc2ee367f81bf5d803360c1aa5c76
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175151
Diffstat (limited to 'include/pwm.h')
-rw-r--r-- | include/pwm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pwm.h b/include/pwm.h index cb0f961713..c4ae331b1c 100644 --- a/include/pwm.h +++ b/include/pwm.h @@ -6,6 +6,9 @@ #ifndef __CROS_EC_PWM_H #define __CROS_EC_PWM_H +/* The values are defined in board.h */ +enum pwm_channel; + /** * Enable/disable a PWM channel. */ |