From df06f61cccd415e3d20d187b3438bd565b81c9c3 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 26 Apr 2013 13:46:18 -0700 Subject: Split pwm.c into pwm_fan.c and pwm_kblight.c Sadly, the existence of fans may not always imply the existence of keyboard backlights. BUG=chrome-os-partner:18825 BRANCH=slippy TEST=manual Use the Link EC console to make sure that both functions still behave. faninfo fanset 4400 faninfo fanset 9999 faninfo autofan faninfo fanduty 50 faninfo fanduty 100 faninfo autofan kblight 0 kblight 100 kblight 50 kbligth 100 Change-Id: I2e07cd46c21bce2d0d4162275a8ea6ae40135e96 Signed-off-by: Bill Richardson Reviewed-on: https://gerrit.chromium.org/gerrit/49355 --- include/pwm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/pwm.h b/include/pwm.h index 62faadea5b..bb6b5a8549 100644 --- a/include/pwm.h +++ b/include/pwm.h @@ -23,7 +23,7 @@ void pwm_enable_fan(int enable); * @param rpm_mode Enable (1) or disable (0) RPM control loop; when * disabled, fan duty cycle will be used. */ -void pwm_set_rpm_mode(int enable); +void pwm_set_fan_rpm_mode(int enable); /** * Get the current fan RPM. -- cgit v1.2.1