diff options
Diffstat (limited to 'include/fpsensor_state.h')
-rw-r--r-- | include/fpsensor_state.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fpsensor_state.h b/include/fpsensor_state.h index 6b752bc86d..98d5b63783 100644 --- a/include/fpsensor_state.h +++ b/include/fpsensor_state.h @@ -10,6 +10,8 @@ #include <stdbool.h> #include <stdint.h> + +#include "atomic.h" #include "common.h" #include "ec_commands.h" #include "link_defs.h" @@ -64,7 +66,7 @@ extern uint32_t user_id[FP_CONTEXT_USERID_WORDS]; /* Part of the IKM used to derive encryption keys received from the TPM. */ extern uint8_t tpm_seed[FP_CONTEXT_TPM_BYTES]; -extern uint32_t fp_events; +extern atomic_t fp_events; extern uint32_t sensor_mode; |