diff options
author | Keith Short <keithshort@chromium.org> | 2022-01-28 10:01:57 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-03-29 18:05:04 +0000 |
commit | ae6930a3cc844343b979040720a0239beeb87abe (patch) | |
tree | 6aa14b8e27f6f811529c3e038fd515120251bf07 /include/hooks.h | |
parent | 00ed1b4cc993b61d7753b966bafbcafe5acf9e19 (diff) | |
download | chrome-ec-ae6930a3cc844343b979040720a0239beeb87abe.tar.gz |
hooks: add HOOK_PRIO_PRE_DEFAULT
Add the HOOK_PRIO_PRE_DEFAULT alias for
(HOOK_PRIO_DEFAULT-1). This more clearly identifies the intent
of this priority level.
BUG=none
BRANCH=none
TEST=compare_build.sh
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I96d2a9951b3585ea07c28aa518204d1e20f306de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3553676
Reviewed-by: Sam Hurst <shurst@google.com>
Diffstat (limited to 'include/hooks.h')
-rw-r--r-- | include/hooks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h index 8d4fae576f..a8a69c18cb 100644 --- a/include/hooks.h +++ b/include/hooks.h @@ -14,6 +14,7 @@ enum hook_priority { /* Generic values across all hooks */ HOOK_PRIO_FIRST = 1, /* Highest priority */ HOOK_PRIO_DEFAULT = 5000, /* Default priority */ + HOOK_PRIO_PRE_DEFAULT = HOOK_PRIO_DEFAULT - 1, HOOK_PRIO_LAST = 9999, /* Lowest priority */ /* Specific hook vales for HOOK_INIT */ |