summaryrefslogtreecommitdiff
path: root/include/link_defs.h
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-02-01 12:55:39 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-03 05:39:18 +0000
commit0cfc6a087f103dfa1a03d5e6671844ddd4ac8c14 (patch)
treeaa3d87439408be8b28203f08d453b3e29d3baed6 /include/link_defs.h
parentc9adf202e3b1d50bda52fda9cb2f9cff918d64b4 (diff)
downloadchrome-ec-0cfc6a087f103dfa1a03d5e6671844ddd4ac8c14.tar.gz
hooks: add hook for battery state of charge change
Add hook for battery state of charge change. Hook will be used to cleanup the samus charging workarounds to follow. BUG=none BRANCH=samus TEST=make -j buildall Change-Id: I99cbb8264783802139cac689804b056623063695 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/245252 Reviewed-by: Shawn N <shawnn@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 67ae9779d2..cfb7f0ced2 100644
--- a/include/link_defs.h
+++ b/include/link_defs.h
@@ -46,6 +46,8 @@ 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[];
extern const struct hook_data __hooks_charge_state_change_end[];
+extern const struct hook_data __hooks_battery_soc_change[];
+extern const struct hook_data __hooks_battery_soc_change_end[];
extern const struct hook_data __hooks_tick[];
extern const struct hook_data __hooks_tick_end[];
extern const struct hook_data __hooks_second[];