diff options
author | Keith Short <keithshort@chromium.org> | 2022-01-28 14:28:16 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-03-29 18:04:26 +0000 |
commit | e38f4cb8739bdc11a9abf2bd4546b697acf32a9a (patch) | |
tree | 18e79aad4c4cc472ce52b965f54bf57dfd12907b /board/kinox | |
parent | 863d8d8344ce306668fc0e88c78a928e4e2716af (diff) | |
download | chrome-ec-e38f4cb8739bdc11a9abf2bd4546b697acf32a9a.tar.gz |
hooks: rename charger init priority to match others
Rename HOOK_PRIO_CHARGE_MANAGER_INIT to HOOK_PRIO_INIT_CHARGE_MANAGER,
matching the pattern used for the other initialization priorities.
BUG=none
BRANCH=none
TEST=compare_build.sh
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Icb80b3cb1297888fcde2eb7d6de86fbc215fe212
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3553673
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'board/kinox')
-rw-r--r-- | board/kinox/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kinox/board.c b/board/kinox/board.c index 0dc4ae5737..43a1cef501 100644 --- a/board/kinox/board.c +++ b/board/kinox/board.c @@ -155,7 +155,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); static void board_init(void) { |