diff options
author | Yuval Peress <peress@chromium.org> | 2021-09-16 23:59:14 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-17 19:05:36 +0000 |
commit | 35d16bdc02821ec5ed9d6aee1076abda2afb47b5 (patch) | |
tree | a474cfd77b27e544221a727a55ca997f929ac612 /include/driver | |
parent | c23afd25a9190c407750bd6677fd91b25ccdaeea (diff) | |
download | chrome-ec-35d16bdc02821ec5ed9d6aee1076abda2afb47b5.tar.gz |
driver: lis2dw12: Fix build warning when building for zephyr
BRANCH=none
BUG=b:200046770
TEST=make buildall -j
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I5f1c228b44a64e9ceab4511713ac4cf70b24e116
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3168032
Tested-by: Yuval Peress <peress@google.com>
Auto-Submit: Yuval Peress <peress@google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/driver')
-rw-r--r-- | include/driver/accel_lis2dw12_public.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/driver/accel_lis2dw12_public.h b/include/driver/accel_lis2dw12_public.h index ba9fd80809..565376f319 100644 --- a/include/driver/accel_lis2dw12_public.h +++ b/include/driver/accel_lis2dw12_public.h @@ -8,6 +8,8 @@ #ifndef __CROS_EC_DRIVER_ACCEL_LIS2DW12_PUBLIC_H #define __CROS_EC_DRIVER_ACCEL_LIS2DW12_PUBLIC_H +#include "gpio.h" + extern const struct accelgyro_drv lis2dw12_drv; /* I2C ADDRESS DEFINITIONS |