summaryrefslogtreecommitdiff
path: root/driver/accel_lis2dw12.c
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2020-06-03 14:24:04 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-03 12:19:19 +0000
commit1a78df900266e595c619b6dd44b6fc1157ff3ad6 (patch)
tree46ef86ee3afce8cfb510a8b2c1cc605a7e8081ef /driver/accel_lis2dw12.c
parent4a18035a752d43f22acb27f23168b182c96ad271 (diff)
downloadchrome-ec-1a78df900266e595c619b6dd44b6fc1157ff3ad6.tar.gz
lisdw12: add missing header file
lis2dw12_load_fifo() references motion_sense_fifo_stage_data() and motion_sense_fifo_commit_data. Add the required header file. BUG=none TEST=compile with CONFIG_ACCEL_LIS2DW_AS_BASE enabled BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I8bd619a5f85484da641b7a504b6425bd30d4fb8b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2228078 Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'driver/accel_lis2dw12.c')
-rw-r--r--driver/accel_lis2dw12.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/accel_lis2dw12.c b/driver/accel_lis2dw12.c
index ba7514309f..1f791a8364 100644
--- a/driver/accel_lis2dw12.c
+++ b/driver/accel_lis2dw12.c
@@ -14,6 +14,7 @@
#include "hooks.h"
#include "hwtimer.h"
#include "math_util.h"
+#include "motion_sense_fifo.h"
#include "task.h"
#include "util.h"