summaryrefslogtreecommitdiff
path: root/include/link_defs.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@chromium.org>2018-08-17 11:00:18 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-21 19:27:46 -0700
commitaf908bfce225415c01d56b3f57cfc399d8485d3e (patch)
tree73a798d47d9cb2002df7cb4836e6d5c7193ff997 /include/link_defs.h
parentb8af74cc4cf7a304ce8087fc60248ea037aad566 (diff)
downloadchrome-ec-af908bfce225415c01d56b3f57cfc399d8485d3e.tar.gz
common: add BASE_CHANGE hook
Add a hook to act when a detachable device is connected/disconnected from a base. BUG=b:73133611 BRANCH=nocturne TEST=Test with evtest that an event is sent to the AP. Change-Id: I21103fff88f19a197124095ee229eebb178dcf3d Signed-off-by: Dmitry Torokhov <dtor@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1180538 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/link_defs.h')
-rw-r--r--include/link_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/link_defs.h b/include/link_defs.h
index 1ff5804bb9..b4488c076a 100644
--- a/include/link_defs.h
+++ b/include/link_defs.h
@@ -50,6 +50,8 @@ 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_base_attached_change[];
+extern const struct hook_data __hooks_base_attached_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_battery_soc_change[];