diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2016-09-01 16:48:06 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-07 14:01:18 -0700 |
commit | 4848d7e8fa0db6faecf0dabb31eaa0db2acc4a0b (patch) | |
tree | b5b62c449fd7f99dd36416eeae9e9e6e5577a8d9 /include/link_defs.h | |
parent | 764b2e57e741b9d83fa603993ba80e0696fd1333 (diff) | |
download | chrome-ec-4848d7e8fa0db6faecf0dabb31eaa0db2acc4a0b.tar.gz |
common: Add TABLET_MODE hook.
Add a hook to act when the a device is going in tablet mode and back.
BUG=chromium:606718
BRANCH=kevin
TEST=Test with evtest that an event is sent to the AP.
Change-Id: Ic9c3b158f1178504af41abff18b28de8e07fc7a7
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/380412
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/link_defs.h')
-rw-r--r-- | include/link_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/link_defs.h b/include/link_defs.h index 91950811d2..69b964d1d8 100644 --- a/include/link_defs.h +++ b/include/link_defs.h @@ -48,6 +48,8 @@ extern const struct hook_data __hooks_ac_change[]; extern const struct hook_data __hooks_ac_change_end[]; extern const struct hook_data __hooks_lid_change[]; extern const struct hook_data __hooks_lid_change_end[]; +extern const struct hook_data __hooks_tablet_mode_change[]; +extern const struct hook_data __hooks_tablet_mode_change_end[]; extern const struct hook_data __hooks_pwrbtn_change[]; extern const struct hook_data __hooks_pwrbtn_change_end[]; extern const struct hook_data __hooks_charge_state_change[]; |