diff options
author | Yuval Peress <peress@chromium.org> | 2021-04-21 01:12:03 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-21 16:21:27 +0000 |
commit | 793c8e2f1245e34c2eb7fd787ad517868cd61cf9 (patch) | |
tree | 076b9160fa084416725f0bcac1aa4d593fbdefa1 | |
parent | 16f1f97ff6d453191689fa4cda61aae34f9e2c58 (diff) | |
download | chrome-ec-793c8e2f1245e34c2eb7fd787ad517868cd61cf9.tar.gz |
driver: bmi160: Fix imports for zephyr include path
Zephyr builds do not use the platform/ec root in the include path so
we need to remove the "driver/" prefix for these includes.
BRANCH=none
BUG=b:185966444
TEST=zmake testall
TEST=make buildall
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ic8682ad2b5c53621ea54984d6d7d711fc4e7173f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2842708
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | driver/accelgyro_bmi160.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/accelgyro_bmi160.c b/driver/accelgyro_bmi160.c index 70059dc1d7..611ac7d9cc 100644 --- a/driver/accelgyro_bmi160.c +++ b/driver/accelgyro_bmi160.c @@ -11,9 +11,9 @@ #include "accelgyro.h" #include "common.h" #include "console.h" -#include "driver/accelgyro_bmi_common.h" -#include "driver/accelgyro_bmi160.h" -#include "driver/mag_bmm150.h" +#include "accelgyro_bmi_common.h" +#include "accelgyro_bmi160.h" +#include "mag_bmm150.h" #include "hwtimer.h" #include "i2c.h" #include "math_util.h" |