summaryrefslogtreecommitdiff
path: root/include/backlight.h
diff options
context:
space:
mode:
authorChromeOS Developer <rspangler@chromium.org>2013-09-19 16:38:34 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-25 17:50:00 +0000
commiteb27bf14d403ef0009edb28f614962dd78fbc244 (patch)
tree6165941d25d8080e47849d4a1d901bb57565a40c /include/backlight.h
parent9ddc2f3cdc4e2f7208f2164c9d12501491eed2ba (diff)
downloadchrome-ec-eb27bf14d403ef0009edb28f614962dd78fbc244.tar.gz
rambi: Initial EC firmware
This should have all the correct GPIO mappings. Chipset and charger tasks are currently disabled, until we bring up the voltage rails and I2C communication. BUG=chrome-os-partner:22895 BRANCH=none TEST=compiles; everything else needs to wait until we get hardware Change-Id: Iea49fe7ab8bd17f61c8cc6c71f236a503418ee28 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/170540 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include/backlight.h')
-rw-r--r--include/backlight.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/backlight.h b/include/backlight.h
index dd4e06e991..7fbdcfb34a 100644
--- a/include/backlight.h
+++ b/include/backlight.h
@@ -15,6 +15,10 @@
*
* @param signal Signal which triggered the interrupt.
*/
+#ifdef CONFIG_BACKLIGHT_X86
void backlight_interrupt(enum gpio_signal signal);
+#else
+#define backlight_interrupt NULL
+#endif
#endif /* __CROS_EC_BACKLIGHT_H */