From e48a9d9c2143695cdd7a35ab06d6a6d5820efd9b Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 30 Oct 2013 10:38:31 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/175151 --- include/pwm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/pwm.h') 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. */ -- cgit v1.2.1