summaryrefslogtreecommitdiff
path: root/include/pwm.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-07-12 12:12:22 -0500
committerChromeBot <chrome-bot@google.com>2013-07-16 16:40:38 -0700
commit7d6e01d6177739956ae93ca131041764c6b37904 (patch)
tree9ac6d95c36563e03056f99fdf523d84a6095c2d4 /include/pwm.h
parent0c73fdae773be0d42c969e4171b0504fcf06b97a (diff)
downloadchrome-ec-7d6e01d6177739956ae93ca131041764c6b37904.tar.gz
lm4: make configure_kblight_gpios() board dependent
The configure_kblight_gpios() funciton was specific to the link board. Therefore, move the function to be defined within the board-specific file. BUG=chrome-os-partner:20372 BRANCH=None TEST=Built. Tested similar change on bolt. Change-Id: Ib5847130450024c50d6526d2c1a64d67ab501637 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/62209
Diffstat (limited to 'include/pwm.h')
-rw-r--r--include/pwm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pwm.h b/include/pwm.h
index 9c97ea2fda..a4fae7fc75 100644
--- a/include/pwm.h
+++ b/include/pwm.h
@@ -48,6 +48,11 @@ void pwm_set_fan_target_rpm(int rpm);
void pwm_set_fan_duty(int percent);
/**
+ * Set up the keyboard gpios.
+ */
+void configure_kblight_gpios(void);
+
+/**
* Enable/disable the keyboard backlight.
*/
void pwm_enable_keyboard_backlight(int enable);