summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-04-23 11:06:16 -0700
committerChromeBot <chrome-bot@google.com>2013-04-24 00:06:00 -0700
commit01279936cb7836ee5cef7e4c2332f6a6338a3162 (patch)
treeee87fca649059c9f5a44661b6489b53c73758610 /include
parent3def4e04fa3ff2b28cfebdb2c4717fc51913a725 (diff)
downloadchrome-ec-01279936cb7836ee5cef7e4c2332f6a6338a3162.tar.gz
Unify lid switch processing
STM32-based platforms now use the same lid debouncing code as LM4-based platforms, generate lid-open / lid-closed events, and trigger lid-change hooks. This is needed for disabling keyboard scanning when the lid is closed, as well as future changes to mask off wake events when the lid is closed. BUG=chrome-os-partner:18896 BRANCH=spring TEST=build all platforms; check that spring boots when lid is opened Change-Id: I09a6e91119c3739297fe49b7eacac6efda988284 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/48924 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/gaia_power.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/gaia_power.h b/include/gaia_power.h
index b37ce08b8d..4e44e66f2f 100644
--- a/include/gaia_power.h
+++ b/include/gaia_power.h
@@ -16,14 +16,12 @@
* Interrupt handlers for Gaia chipset GPIOs.
*/
void gaia_power_event(enum gpio_signal signal);
-void gaia_lid_event(enum gpio_signal signal);
void gaia_suspend_event(enum gpio_signal signal);
#else
#define gaia_power_event NULL
#define gaia_suspend_event NULL
-#define gaia_lid_event NULL
#endif